From 79e432c4a8f3f3c7e1bc374e464d1b881b277f88 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 8 Feb 2014 02:49:30 +0000 Subject: Make sure we cycle through existing client's group membership and set the hidden state on the group; important to know group hidden state after a re-exec or restart of cwm (as easily seen in group menu). --- screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index b718204..aa095f8 100644 --- a/screen.c +++ b/screen.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.60 2014/02/03 21:07:47 okan Exp $ + * $OpenBSD: screen.c,v 1.61 2014/02/08 02:49:30 okan Exp $ */ #include @@ -69,6 +69,7 @@ screen_init(int which) XFree(wins); } screen_updatestackingorder(sc); + group_set_state(sc); if (HasRandr) XRRSelectInput(X_Dpy, sc->rootwin, RRScreenChangeNotifyMask); -- cgit v1.2.3-2-gb3c3