diff options
author | okan <okan> | 2014-08-24 15:37:45 +0000 |
---|---|---|
committer | okan <okan> | 2014-08-24 15:37:45 +0000 |
commit | 9f36d4af355facd1307989d203fa4f5a780007a1 (patch) | |
tree | 71d52a0cc59390505cc0e8c6421feeb32f294d7b /screen.c | |
parent | fe533fdc8edb2584b40a8bad9f00b8258529854f (diff) | |
download | cwm-9f36d4af355facd1307989d203fa4f5a780007a1.tar.gz cwm-9f36d4af355facd1307989d203fa4f5a780007a1.tar.xz cwm-9f36d4af355facd1307989d203fa4f5a780007a1.zip |
gc->hidden has never consistently kept track of a group's state;
group_show() and group_hide() are not the only ways a group can change state - if all clients in a group are either hidden or unhidden, then that group's state should change, as well as the various EWMH ways. Instead of trying to keep track in a wide variety of places, simply query the clients in a group before needing to take action based on the group's state. Solves long standing confusion of when a group is hidden or not.
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/screen.c b/screen.c index 0621065..2335d63 100644 --- a/screen.c +++ b/screen.c @@ -69,7 +69,6 @@ screen_init(int which) XFree(wins); } screen_updatestackingorder(sc); - group_set_state(sc); if (HasRandr) XRRSelectInput(X_Dpy, sc->rootwin, RRScreenChangeNotifyMask); |