always make sure that _SURF_URI is set before spawning
This commit is contained in:
parent
abb5ef182b
commit
ee9cdd909f
1
surf.c
1
surf.c
|
@ -1053,6 +1053,7 @@ newwindow(Client *c, const Arg *a, int noembed)
|
||||||
void
|
void
|
||||||
spawn(Client *c, const Arg *a)
|
spawn(Client *c, const Arg *a)
|
||||||
{
|
{
|
||||||
|
setatom(c, AtomUri, geturi(c));
|
||||||
if (fork() == 0) {
|
if (fork() == 0) {
|
||||||
if (dpy)
|
if (dpy)
|
||||||
close(ConnectionNumber(dpy));
|
close(ConnectionNumber(dpy));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user