diff options
| -rw-r--r-- | monsterwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monsterwm.c b/monsterwm.c index ca5be67..21b0cc6 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -725,7 +725,7 @@ void mousemotion(const Arg *arg) { if (!d->curr || !XGetWindowAttributes(dis, d->curr->win, &wa)) return; - if (arg->i == RESIZE) XWarpPointer(dis, d->curr->win, d->curr->win, 0, 0, 0, 0, wa.width, wa.height); + if (arg->i == RESIZE) XWarpPointer(dis, d->curr->win, d->curr->win, 0, 0, 0, 0, --wa.width, --wa.height); int rx, ry, c, xw, yh; unsigned int v; Window w; if (!XQueryPointer(dis, root, &w, &w, &rx, &ry, &c, &c, &v) || w != d->curr->win) return; |
