mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-27 03:58:51 +02:00
quake: simplify logic about multiple quake consoles
We shouldn't need that anymore.
This commit is contained in:
parent
119b69b111
commit
ff62552a43
1 changed files with 3 additions and 13 deletions
|
@ -33,19 +33,9 @@ function QuakeConsole:display()
|
||||||
-- c.name may be changed!
|
-- c.name may be changed!
|
||||||
return (c.instance == self.name or c.role == self.name)
|
return (c.instance == self.name or c.role == self.name)
|
||||||
end) do
|
end) do
|
||||||
i = i + 1
|
client = c
|
||||||
if i == 1 then
|
client:tags({})
|
||||||
client = c
|
break
|
||||||
client:tags({})
|
|
||||||
else
|
|
||||||
-- Additional matching clients, let's remove the sticky bit
|
|
||||||
-- which may persist between awesome restarts. We don't close
|
|
||||||
-- them as they may be valuable. They will just turn into a
|
|
||||||
-- classic terminal.
|
|
||||||
c.sticky = false
|
|
||||||
c.ontop = false
|
|
||||||
c.above = false
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if not client and not self.visible then
|
if not client and not self.visible then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue