[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:
parent
ee8f2e330b
commit
1fd3f34c87
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user