apply patch from richardgv. fixes #5.
This commit is contained in:
parent
2a566e83a7
commit
94efff0bb2
|
@ -1712,7 +1712,10 @@ configure_win(Display *dpy, XConfigureEvent *ce) {
|
||||||
/* save the configure event for when the window maps */
|
/* save the configure event for when the window maps */
|
||||||
w->need_configure = True;
|
w->need_configure = True;
|
||||||
w->queue_configure = *ce;
|
w->queue_configure = *ce;
|
||||||
|
restack_win(dpy, w, ce->above);
|
||||||
} else {
|
} else {
|
||||||
|
if (!(w->need_configure))
|
||||||
|
restack_win(dpy, w, ce->above);
|
||||||
w->need_configure = False;
|
w->need_configure = False;
|
||||||
|
|
||||||
#if CAN_DO_USABLE
|
#if CAN_DO_USABLE
|
||||||
|
@ -1760,7 +1763,6 @@ configure_win(Display *dpy, XConfigureEvent *ce) {
|
||||||
}
|
}
|
||||||
|
|
||||||
w->a.override_redirect = ce->override_redirect;
|
w->a.override_redirect = ce->override_redirect;
|
||||||
restack_win(dpy, w, ce->above);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue