dwm-meillo

changeset 309:204427dcc087

corrected order of cleanup code
author Anselm R.Garbe <arg@10ksloc.org>
date Wed, 16 Aug 2006 19:25:29 +0200
parents b591412bd2da
children f0b609fca3de
files main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/main.c	Wed Aug 16 17:58:18 2006 +0200
     1.2 +++ b/main.c	Wed Aug 16 19:25:29 2006 +0200
     1.3 @@ -33,9 +33,9 @@
     1.4  	else
     1.5  		XFreeFont(dpy, dc.font.xfont);
     1.6  	XUngrabKey(dpy, AnyKey, AnyModifier, root);
     1.7 -	XDestroyWindow(dpy, barwin);
     1.8  	XFreePixmap(dpy, dc.drawable);
     1.9  	XFreeGC(dpy, dc.gc);
    1.10 +	XDestroyWindow(dpy, barwin);
    1.11  	XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
    1.12  	XSync(dpy, False);
    1.13  }