diff options
author | Quentin Rameau <quinq@fifth.space> | 2015-11-24 23:18:06 +0100 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2015-11-24 23:18:06 +0100 |
commit | ee04671220690ec225112d49ece959239a3e2202 (patch) | |
tree | 85ace86809524b5e23b5c40e73b960c12be415d3 /surf.c | |
parent | c069b76f1bab7107d2a7df263ea51482587f8184 (diff) | |
download | surf-ee04671220690ec225112d49ece959239a3e2202.tar.gz surf-ee04671220690ec225112d49ece959239a3e2202.tar.bz2 surf-ee04671220690ec225112d49ece959239a3e2202.zip |
Fix clickexternplayer(), no need to test the target again
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |