mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 19:58:35 +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!
|
||||
return (c.instance == self.name or c.role == self.name)
|
||||
end) do
|
||||
i = i + 1
|
||||
if i == 1 then
|
||||
client = c
|
||||
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
|
||||
client = c
|
||||
client:tags({})
|
||||
break
|
||||
end
|
||||
|
||||
if not client and not self.visible then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue