From 53e02b7b6543f7fca0bd0fab4d3bf97773cc9ba7 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Thu, 1 Mar 2012 03:37:00 +0200 Subject: active window is always the current window --- monsterwm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'monsterwm.c') diff --git a/monsterwm.c b/monsterwm.c index 41b05da..55ecf04 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -299,9 +299,8 @@ void clientmessage(XEvent *e) { && ((unsigned)e->xclient.data.l[1] == netatoms[NET_FULLSCREEN] || (unsigned)e->xclient.data.l[2] == netatoms[NET_FULLSCREEN])) setfullscreen(c, (e->xclient.data.l[0] == 1 || (e->xclient.data.l[0] == 2 && !c->isfullscrn))); - else if (c && e->xclient.message_type == netatoms[NET_ACTIVE]) current = c; tile(); - update_current(current); + update_current(c); } /* a configure request means that the window requested changes in its geometry -- cgit v1.3.1