Don't segfault when SETPROP() after setatom(). - surf - Surf web browser.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 01a9381c5975edf27da237039a3f4aad1fea38ef
 (DIR) parent 4d5a7f07ccc453c8e3a2f83b8015ebe34282f64d
 (HTM) 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(-)
       ---
 (DIR) 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