about summary refs log tree commit diff
path: root/xevents.c
diff options
context:
space:
mode:
authorokan <okan>2012-07-03 13:49:03 +0000
committerokan <okan>2012-07-03 13:49:03 +0000
commitf98e123bfccf2ededa1cd22dbf88bedc5e4a2ccf (patch)
tree358597219d1cfc691fad23f2062db1e613bb5e5c /xevents.c
parent956c47dbeb5bf55913340d80bd0f4423a422a1e8 (diff)
downloadcwm-f98e123bfccf2ededa1cd22dbf88bedc5e4a2ccf.tar.gz
cwm-f98e123bfccf2ededa1cd22dbf88bedc5e4a2ccf.tar.xz
cwm-f98e123bfccf2ededa1cd22dbf88bedc5e4a2ccf.zip
re-implement atom handing; makes for a normalized and more consistent
separation between cwm and ewmh.  seen by a few.
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c
index f64adb8..db6450e 100644
--- a/xevents.c
+++ b/xevents.c
@@ -207,7 +207,7 @@ xev_handle_propertynotify(XEvent *ee)
 				goto test;
 		return;
 test:
-		if (e->atom == _NET_DESKTOP_NAMES)
+		if (e->atom == ewmh[_NET_DESKTOP_NAMES].atom)
 			group_update_names(sc);
 	}
 }