tFix clickexternplayer(), no need to test the target again - surf - customized build of surf, the suckless webkit browser
HTML git clone git://src.adamsgaard.dk/surf
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit ee04671220690ec225112d49ece959239a3e2202
DIR parent c069b76f1bab7107d2a7df263ea51482587f8184
HTML Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 24 Nov 2015 23:18:06 +0100
Fix clickexternplayer(), no need to test the target again
Diffstat:
M surf.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
DIR diff --git a/surf.c b/surf.c
t@@ -1425,10 +1425,8 @@ clickexternplayer(Client *c, const Arg *a, WebKitHitTestResult *h)
{
Arg arg;
- if (webkit_hit_test_result_get_context(h) & OnMedia) {
- arg = (Arg)VIDEOPLAY(webkit_hit_test_result_get_media_uri(h));
- spawn(c, &arg);
- }
+ arg = (Arg)VIDEOPLAY(webkit_hit_test_result_get_media_uri(h));
+ spawn(c, &arg);
}
int