fix floating case
This commit is contained in:
parent
90fdd53f4c
commit
0d1b07e167
2
rc.lua
2
rc.lua
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue