Since we use IconicState as our hidden state, check for the hidden flag

and unmanage the client if we're not hidden (basically if NormalState)
during an UnmapNotify event.

Resolves an issue with mplayer going fullscreen while not using NetWM
hints; behaviour regression reported by Ido Admon.
This commit is contained in:
okan 2013-12-02 14:30:12 +00:00
parent 5e67a12262
commit 6b72168d92

View File

@ -101,8 +101,10 @@ xev_handle_unmapnotify(XEvent *ee)
if (e->send_event) {
cc->state = WithdrawnState;
xu_set_wm_state(cc->win, cc->state);
} else
client_hide(cc);
} else {
if (!(cc->flags & CLIENT_HIDDEN))
client_delete(cc);
}
}
}