summaryrefslogtreecommitdiff
path: root/app/cwm/xevents.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2012-07-03 13:49:04 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2012-07-03 13:49:04 +0000
commit7363d0cd84fa46fa99f94ca25dde05be66660338 (patch)
treedc895b9c668c99b65aff737ea9bda89006887496 /app/cwm/xevents.c
parent6b78a77383d37e1695d9cc42078de86225cd7b9d (diff)
re-implement atom handing; makes for a normalized and more consistent
separation between cwm and ewmh. seen by a few.
Diffstat (limited to 'app/cwm/xevents.c')
-rw-r--r--app/cwm/xevents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index 73e5df019..56a200dbb 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/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);
}
}