summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--surf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/surf.c b/surf.c
index 0dd67b6..a5cfdd0 100644
--- 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