diff options
author | tsxv478 <atvx717@infraredcombat.xyz> | 2022-09-27 11:47:02 +0300 |
---|---|---|
committer | tsxv478 <atvx717@infraredcombat.xyz> | 2022-09-27 11:47:02 +0300 |
commit | ca452f5c0a0502119003a4b8233c79a7033e7aba (patch) | |
tree | 370659390d3fee8910795bad71c2fb767dabaca1 /surf.c | |
parent | 0ce1dfbe53346085a51a4b592768edd0c5a59b94 (diff) |
play external
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -243,6 +243,7 @@ static void togglefullscreen(Client *c, const Arg *a); static void togglecookiepolicy(Client *c, const Arg *a); static void toggleinspector(Client *c, const Arg *a); static void find(Client *c, const Arg *a); +static void playexternal(Client *c, const Arg *a); /* Buttons */ static void clicknavigate(Client *c, const Arg *a, WebKitHitTestResult *h); @@ -2028,6 +2029,15 @@ clickexternplayer(Client *c, const Arg *a, WebKitHitTestResult *h) spawn(c, &arg); } +void +playexternal(Client *c, const Arg *a) +{ + Arg arg; + + arg = (Arg)VIDEOPLAY(geturi(c)); + spawn(c, &arg); +} + int main(int argc, char *argv[]) { |