aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monsterwm.c2
1 files changed, 1 insertions, 1 deletions
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 */