Created
November 16, 2016 20:54
-
-
Save lucasvr/511f1fd195c84c7eab7c93f79828382f to your computer and use it in GitHub Desktop.
awesome 2nd monitor patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- share/awesome/lib/awful/mouse/init.lua.orig 2016-11-16 13:45:27.567205289 -0200 | |
+++ share/awesome/lib/awful/mouse/init.lua 2016-11-16 13:47:37.239207722 -0200 | |
@@ -257,7 +257,7 @@ mouse.resize.add_enter_callback(function | |
if c.floating then return end | |
local l = c.screen.selected_tag and c.screen.selected_tag.layout or nil | |
- if l == layout.suit.floating then return end | |
+ if l == layout.suit.floating or l == nil then return end | |
if l ~= layout.suit.floating and l.mouse_resize_handler then | |
capi.mousegrabber.stop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment