mouse.resize: Allow resize across screens (FS#1059)

No clue why this code is here, but it only allowed floating clients to be
resized beyond the edge of their screen. Clients on a floating layout were
forced to stay on their screen. Quite an unintuitive behavior and now this
behavior is gone.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2012-12-14 19:38:30 +01:00
parent 0b6b3bb458
commit 487fb3f945
1 changed files with 0 additions and 6 deletions

View File

@ -500,12 +500,6 @@ local function client_resize_floating(c, corner, fixed_x, fixed_y)
capi.mousegrabber.run(function (_mouse)
for k, v in ipairs(_mouse.buttons) do
if v then
-- Ignore screen changes
if not aclient.floating.get(c)
and capi.mouse.screen ~= c.screen then
return true
end
local ng
if corner == "bottom_right" then
ng = { width = _mouse.x - g.x,