summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authoroga <oga>2009-01-27 00:42:53 +0000
committeroga <oga>2009-01-27 00:42:53 +0000
commitc750462d13e2ee289d715bca58a85123d6f055f5 (patch)
tree60c63c71c63e16449e11d1cb17801699aba32fb4 /xutil.c
parent9203c7e8cacbc14878f49b5199650566b33b6e95 (diff)
downloadcwm-c750462d13e2ee289d715bca58a85123d6f055f5.tar.gz
cwm-c750462d13e2ee289d715bca58a85123d6f055f5.tar.xz
cwm-c750462d13e2ee289d715bca58a85123d6f055f5.zip
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@
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c
index 0043f1c..7246531 100644
--- a/xutil.c
+++ b/xutil.c
@@ -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