surf

Surf web browser.
git clone git://r-36.net/surf
Log | Files | Refs | README | LICENSE

commit 01a9381c5975edf27da237039a3f4aad1fea38ef
parent 4d5a7f07ccc453c8e3a2f83b8015ebe34282f64d
Author: Christoph Lohmann <20h@r-36.net>
Date:   Thu, 20 Apr 2017 22:52:06 +0200

Don't segfault when SETPROP() after setatom().

Thanks Ben Woolley <tautolog@gmail.com>

Diffstat:
surf.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/surf.c b/surf.c @@ -1416,6 +1416,7 @@ setatom(Client *c, int a, const char *v) XChangeProperty(dpy, GDK_WINDOW_XID(GTK_WIDGET(c->win)->window), atoms[a], XA_STRING, 8, PropModeReplace, (unsigned char *)v, strlen(v) + 1); + XSync(dpy, False); } void