From fa5d49be65f943f559729a180d511c0fd18c01a1 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Fri, 9 Mar 2012 03:09:09 +0200 Subject: immediately update clients on mousemotion() --- monsterwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monsterwm.c b/monsterwm.c index ca29548..0c16811 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -496,6 +496,7 @@ void mousemotion(const Arg *arg) { if (current->isfullscrn) setfullscreen(current, False); if (!current->isfloating) current->isfloating = True; + update_current(current); XEvent ev; do { @@ -514,7 +515,6 @@ void mousemotion(const Arg *arg) { } } while(ev.type != ButtonRelease); XUngrabPointer(dis, CurrentTime); - update_current(current); } /* each window should cover all the available screen space */ -- cgit v1.3.1