we're only getting one unmap notify now, with the new event mask on the root window. we're not getting one for the frame window anymore.
This commit is contained in:
parent
fb3d2033ba
commit
e227ac841e
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ void frame_hide(ObFrame *self)
|
||||||
if (self->visible || self->firstmap == FALSE) {
|
if (self->visible || self->firstmap == FALSE) {
|
||||||
if (self->visible) {
|
if (self->visible) {
|
||||||
self->visible = FALSE;
|
self->visible = FALSE;
|
||||||
self->client->ignore_unmaps += 2;
|
self->client->ignore_unmaps += 1;
|
||||||
/* we unmap the client itself so that we can get MapRequest
|
/* we unmap the client itself so that we can get MapRequest
|
||||||
events, and because the ICCCM tells us to! */
|
events, and because the ICCCM tells us to! */
|
||||||
XUnmapWindow(ob_display, self->window);
|
XUnmapWindow(ob_display, self->window);
|
||||||
|
|
Loading…
Reference in a new issue