From 12bb7c96c370dcaef400976aabcb8cf3794fdf68 Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Tue, 27 Jan 2009 00:42:54 +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@ --- app/cwm/xutil.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/cwm/xutil.c') diff --git a/app/cwm/xutil.c b/app/cwm/xutil.c index b0b11fd59..db9fe8cff 100644 --- a/app/cwm/xutil.c +++ b/app/cwm/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