aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authorokan2012-07-03 13:49:03 +0000
committerokan2012-07-03 13:49:03 +0000
commitddc2baea991a9aee4b138ed29436fe423d1c4d3e (patch)
tree490e677d510550663ec475c0c1ce96a49c78538a /xevents.c
parentd9b285478d95868143d2231edca6375c0137aba5 (diff)
downloadcwm-ddc2baea991a9aee4b138ed29436fe423d1c4d3e.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c
index 73e5df0..56a200d 100644
--- a/xevents.c
+++ b/xevents.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.
*
- * $OpenBSD: xevents.c,v 1.60 2012/05/16 21:57:21 okan Exp $
+ * $OpenBSD: xevents.c,v 1.61 2012/07/03 13:49:03 okan Exp $
*/
/*
@@ -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);
}
}