diff options
author | Rafael Marçalo <raroma09@gmail.com> | 2023-11-29 17:41:39 +0000 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2023-11-29 17:41:39 +0000 |
commit | 2671aaeee6145fedf541e714fb06f32a48fdf009 (patch) | |
tree | df09ecef815e909062262f345fa999c44af9887d /surf.c | |
parent | 6db79a5ca7432ce6ed9130211260b198a2257169 (diff) |
Play external patch
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -241,6 +241,7 @@ static void toggleinspector(Client *c, const Arg *a); static void toggletitle(Client *c, const Arg *a); static void find(Client *c, const Arg *a); static void search(Client *c, const Arg *a); +static void playexternal(Client *c, const Arg *a); /* Buttons */ static void clicknavigate(Client *c, const Arg *a, WebKitHitTestResult *h); @@ -2063,6 +2064,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[]) { |