fix floating case

This commit is contained in:
Kolan Sh 2022-01-28 19:18:18 +03:00
parent 90fdd53f4c
commit 0d1b07e167
1 changed files with 1 additions and 1 deletions

2
rc.lua
View File

@ -1096,7 +1096,7 @@ client.connect_signal("property::floating", function(c)
if c.maximized or c.fullscreen then return end if c.maximized or c.fullscreen then return end
if c.floating and not c.maximized and not c.fullscreen then if c.floating and not c.maximized and not c.fullscreen then
if c.instance ~= nil and not string.find(c.instance, "QuakeConsole") then if c.instance == nil or not string.find(c.instance, "QuakeConsole") then
if c.titlebar == nil then if c.titlebar == nil then
c:emit_signal("request::titlebars", "rules", {}) c:emit_signal("request::titlebars", "rules", {})
end end