From ee9cdd909f24c760c308e265dedc7ea230a5eded Mon Sep 17 00:00:00 2001 From: gutmet Date: Sun, 14 Mar 2021 13:23:45 +0100 Subject: [PATCH] always make sure that _SURF_URI is set before spawning --- surf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/surf.c b/surf.c index c4c3d99..d5fe0b6 100644 --- a/surf.c +++ b/surf.c @@ -1053,6 +1053,7 @@ newwindow(Client *c, const Arg *a, int noembed) void spawn(Client *c, const Arg *a) { + setatom(c, AtomUri, geturi(c)); if (fork() == 0) { if (dpy) close(ConnectionNumber(dpy));