diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-03-09 03:09:09 +0200 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-03-09 03:19:22 +0200 |
| commit | fa5d49be65f943f559729a180d511c0fd18c01a1 (patch) | |
| tree | f7663d4ec3273b4780845ac777f177c600f3e901 /monsterwm.c | |
| parent | c11b05f09eb4ef5740fe3fc7c1f4805a9f914bdc (diff) | |
immediately update clients on mousemotion()
Diffstat (limited to 'monsterwm.c')
| -rw-r--r-- | monsterwm.c | 2 |
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 */ |
