[#] http://marc.info/?l=openbsd-cvs&m=140889468314613&w=2
openbsd-cvs(obsdave,2) — All
2014-08-24 19:55:09


Module name: xenocara
Changes by: okan@cvs.openbsd.org 2014/08/24 09:37:45

Modified files:
app/cwm : calmwm.h group.c screen.c

Log message:
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.