mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
quake: add an exception of the setslave rule
Otherwise, we get focus problems...
This commit is contained in:
parent
b031b9b62b
commit
f2883707a1
2 changed files with 9 additions and 1 deletions
|
@ -21,6 +21,11 @@
|
|||
-- awful.key({ modkey }, "`",
|
||||
-- function () quakeconsole[mouse.screen]:toggle() end)
|
||||
|
||||
-- If you have a rule like "awful.client.setslave" for your terminals,
|
||||
-- ensure you use an exception for
|
||||
-- QuakeConsoleNeedsUniqueName. Otherwise, you may run into problems
|
||||
-- with focus.
|
||||
|
||||
local setmetatable = setmetatable
|
||||
local string = string
|
||||
local awful = require("awful")
|
||||
|
@ -94,6 +99,7 @@ function QuakeConsole:display()
|
|||
client.above = true
|
||||
client.skip_taskbar = true
|
||||
client.sticky = true
|
||||
client.
|
||||
|
||||
-- Toggle display
|
||||
if self.visible then
|
||||
|
|
|
@ -30,5 +30,7 @@ awful.rules.rules = {
|
|||
"Transmission-gtk",
|
||||
"Keepassx",
|
||||
} },
|
||||
properties = { }, callback = awful.client.setslave },
|
||||
except = { icon_name = "QuakeConsoleNeedsUniqueName" },
|
||||
properties = { },
|
||||
callback = awful.client.setslave },
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue