Add a check to silence an error when switching displays with xrandr.
This commit is contained in:
parent
63b3061bad
commit
6f616dc1a2
1
init.lua
1
init.lua
|
@ -40,6 +40,7 @@ client.connect_signal("focus", function(c)
|
|||
|
||||
gears.timer.weak_start_new(0.15, function()
|
||||
local client_under_mouse = mouse.current_client
|
||||
if client_under_mouse == nil then return false end
|
||||
local should_stay = set_contains(stay_classes, client_under_mouse.class)
|
||||
|
||||
if should_stay then return false end
|
||||
|
|
Loading…
Reference in New Issue