Add a check to silence an error when switching displays with xrandr.

This commit is contained in:
Sathors 2023-09-29 09:29:06 -05:00
parent 63b3061bad
commit 6f616dc1a2
1 changed files with 1 additions and 0 deletions

View File

@ -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