Browse Source

corrected order of cleanup code

config
Anselm R.Garbe 18 years ago
parent
commit
a635743c6d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.c

+ 1
- 1
main.c View File

@ -33,9 +33,9 @@ cleanup()
else
XFreeFont(dpy, dc.font.xfont);
XUngrabKey(dpy, AnyKey, AnyModifier, root);
XDestroyWindow(dpy, barwin);
XFreePixmap(dpy, dc.drawable);
XFreeGC(dpy, dc.gc);
XDestroyWindow(dpy, barwin);
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
XSync(dpy, False);
}


Loading…
Cancel
Save