diff options
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/events.c b/src/events.c index c07fb0b..88033e1 100644 --- a/src/events.c +++ b/src/events.c @@ -299,7 +299,7 @@ configure_request (XConfigureRequestEvent *e) XConfigureWindow (dpy, win->w, e->value_mask & (CWX|CWY|CWBorderWidth|CWWidth|CWHeight), &changes); - + XSync(dpy, False); if (win->state == NormalState) maximize (win); } @@ -584,6 +584,8 @@ property_notify (XEvent *ev) case XA_WM_NORMAL_HINTS: PRINT_DEBUG ("updating window normal hints\n"); update_normal_hints (win); + if (win->state == NormalState) + maximize (win); break; case XA_WM_TRANSIENT_FOR: |