mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
No need to map/unmap the window on hide/show since we already do the
same to its parent. "makes sense" okan@.
This commit is contained in:
parent
2bddbe12f4
commit
e21e7680e4
2
client.c
2
client.c
@ -421,7 +421,6 @@ client_hide(struct client_ctx *cc)
|
|||||||
{
|
{
|
||||||
/* XXX - add wm_state stuff */
|
/* XXX - add wm_state stuff */
|
||||||
XUnmapWindow(X_Dpy, cc->pwin);
|
XUnmapWindow(X_Dpy, cc->pwin);
|
||||||
XUnmapWindow(X_Dpy, cc->win);
|
|
||||||
|
|
||||||
cc->active = 0;
|
cc->active = 0;
|
||||||
cc->flags |= CLIENT_HIDDEN;
|
cc->flags |= CLIENT_HIDDEN;
|
||||||
@ -434,7 +433,6 @@ client_hide(struct client_ctx *cc)
|
|||||||
void
|
void
|
||||||
client_unhide(struct client_ctx *cc)
|
client_unhide(struct client_ctx *cc)
|
||||||
{
|
{
|
||||||
XMapWindow(X_Dpy, cc->win);
|
|
||||||
XMapRaised(X_Dpy, cc->pwin);
|
XMapRaised(X_Dpy, cc->pwin);
|
||||||
|
|
||||||
cc->highlight = 0;
|
cc->highlight = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user