From 487fb3f945c3bb88daa93948503306f985a1a89f Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Fri, 14 Dec 2012 19:38:30 +0100 Subject: [PATCH] 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 --- lib/awful/mouse/init.lua.in | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/awful/mouse/init.lua.in b/lib/awful/mouse/init.lua.in index 63e3ec90..a2553ac4 100644 --- a/lib/awful/mouse/init.lua.in +++ b/lib/awful/mouse/init.lua.in @@ -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,