diff options
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c index f111c84..e2d8b67 100644 --- a/xevents.c +++ b/xevents.c @@ -99,8 +99,7 @@ xev_handle_unmapnotify(XEvent *ee) if ((cc = client_find(e->window)) != NULL) { if (e->send_event) { - cc->state = WithdrawnState; - xu_set_wm_state(cc->win, cc->state); + client_set_wm_state(cc, WithdrawnState); } else { if (!(cc->flags & CLIENT_HIDDEN)) client_delete(cc); |