aboutsummaryrefslogtreecommitdiffstats
path: root/xutil.c
diff options
context:
space:
mode:
authoroga2009-01-27 00:42:53 +0000
committeroga2009-01-27 00:42:53 +0000
commit50443d57389167efe8f5b552e55a2773c4bc8fb9 (patch)
treecc58b4a0d9df4aa21a6b456becf4f15963959150 /xutil.c
parentdf17ce729b273d095dc5b33f6723a678c10883c1 (diff)
downloadcwm-50443d57389167efe8f5b552e55a2773c4bc8fb9.tar.gz
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.c5
1 files changed, 3 insertions, 2 deletions
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