diff options
author | tsxv478 <vt0451@yandex.ru> | 2022-09-27 11:47:02 +0300 |
---|---|---|
committer | tsxv478 <vt0451@yandex.ru> | 2022-09-27 11:47:02 +0300 |
commit | 66f6efcef9f8f83a1d270003beee7aceb60dcfaf (patch) | |
tree | 370659390d3fee8910795bad71c2fb767dabaca1 /surf.c | |
parent | 9b7c59e32d5980856f3e8a066dbf5e84ff61d030 (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[]) { |