From ddc2baea991a9aee4b138ed29436fe423d1c4d3e Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 3 Jul 2012 13:49:03 +0000 Subject: re-implement atom handing; makes for a normalized and more consistent separation between cwm and ewmh. seen by a few. --- xevents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xevents.c') 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); } } -- cgit v1.2.3-2-gb3c3