[dwm] dwm.c: do not warp to floating windows

the inkscape shortcut manager works better like this.
otherwise when we insert text the cursor warps into the textbox,
and then we paste the rendered text where the textbox was.
we want to preserve the cursor position
This commit is contained in:
dogeystamp 2023-06-02 19:24:41 -04:00
parent ee8f2e330b
commit 1fd3f34c87

View File

@ -2313,6 +2313,9 @@ warp(const Client *c)
return;
}
if (c->isfloating)
return;
if (!getrootptr(&x, &y) ||
(x > c->x - c->bw &&
y > c->y - c->bw &&