diff options
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/events.c b/src/events.c index 31478ce..b95218c 100644 --- a/src/events.c +++ b/src/events.c @@ -70,12 +70,14 @@ unmap_notify (XEvent *ev) win->state = STATE_UNMAPPED; /* Update the state of the actual window */ + ignore_badwindow = 1; + XRemoveFromSaveSet (dpy, win->w); XChangeProperty(dpy, win->w, wm_state, wm_state, 32, PropModeReplace, (unsigned char *)data, 2); - ignore_badwindow = 1; XSync(dpy, False); + ignore_badwindow = 0; if (rp_current_window == win) @@ -377,6 +379,10 @@ property_notify (XEvent *ev) maximize (win); break; + case XA_WM_TRANSIENT_FOR: + PRINT_DEBUG ("Transient for\n"); + break; + default: PRINT_DEBUG ("Unhandled property notify event\n"); break; |