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));