From 50443d57389167efe8f5b552e55a2773c4bc8fb9 Mon Sep 17 00:00:00 2001 From: oga Date: Tue, 27 Jan 2009 00:42:53 +0000 Subject: One of the most annoying things to do was restart cwm and lose all of your group state. Fix this up by using an X Atom (_CWM_GRP) to store the name of the group that we're using (the name, not the number is because at one point we may make the group numbers dynamic). I've been talking about this since c2k8. so CM-w means you keep all of your windows grouped properly. ok okan@, todd@ --- xutil.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xutil.c') diff --git a/xutil.c b/xutil.c index b0b11fd..db9fe8c 100644 --- a/xutil.c +++ b/xutil.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. * - * $Id: xutil.c,v 1.13 2009/01/23 20:07:20 oga Exp $ + * $Id: xutil.c,v 1.14 2009/01/27 00:42:53 oga Exp $ */ #include "headers.h" @@ -175,7 +175,8 @@ char *atoms[CWM_NO_ATOMS] = { "WM_DELETE_WINDOW", "WM_TAKE_FOCUS", "WM_PROTOCOLS", - "_MOTIF_WM_HINTS" + "_MOTIF_WM_HINTS", + "_CWM_GRP", }; void -- cgit v1.2.3-2-gb3c3