pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c069b76
)
Fix clickexternplayer(), no need to test the target again
author
Quentin Rameau
<quinq@fifth.space>
Tue, 24 Nov 2015 22:18:06 +0000
(23:18 +0100)
committer
Quentin Rameau
<quinq@fifth.space>
Tue, 24 Nov 2015 22:18:06 +0000
(23:18 +0100)
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
0dd67b6
..
a5cfdd0
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-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