diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-01-27 00:42:54 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-01-27 00:42:54 +0000 |
commit | 12bb7c96c370dcaef400976aabcb8cf3794fdf68 (patch) | |
tree | 66555eb85ae2f54dfcd66dc29da538ef3cdd71be /app/cwm/xutil.c | |
parent | 3962a2a3034d3b39442d526c64a8f93b02f25b09 (diff) |
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 'app/cwm/xutil.c')
-rw-r--r-- | app/cwm/xutil.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 |