Fix clickexternplayer(), no need to test the target again
This commit is contained in:
1 parent
c069b76f1b
commit
ee04671220
1 file changed
+2
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user