Bugfixes
This commit is contained in:
parent
e846420728
commit
2ef0ef3271
|
@ -1,5 +1,5 @@
|
|||
-- Notification library
|
||||
local naughty = naughty
|
||||
local naughty = require("naughty")
|
||||
|
||||
-- {{{ Error handling
|
||||
-- Check if awesome encountered an error during startup and fell back to
|
||||
|
|
|
@ -76,9 +76,7 @@ local function setup(self)
|
|||
},
|
||||
{
|
||||
rule = { role = "buddy_list" },
|
||||
properties = {
|
||||
master = true
|
||||
}
|
||||
callback = awful.client.setmaster
|
||||
},
|
||||
{
|
||||
rule = { class = "Steam", name = "Friends" },
|
||||
|
|
10
signals.lua
10
signals.lua
|
@ -5,7 +5,13 @@ client.connect_signal("manage", function (c, startup)
|
|||
-- Enable sloppy focus
|
||||
c:connect_signal("mouse::enter", function(c)
|
||||
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
|
||||
and awful.client.focus.filter(c) then
|
||||
and awful.client.focus.filter(c)
|
||||
and not(
|
||||
client.focus ~= nil
|
||||
and client.focus.class == "jetbrains-idea"
|
||||
and c.class == "jetbrains-idea"
|
||||
and client.focus.type == "dialog"
|
||||
) then
|
||||
client.focus = c
|
||||
end
|
||||
end)
|
||||
|
@ -13,7 +19,7 @@ client.connect_signal("manage", function (c, startup)
|
|||
if not startup then
|
||||
-- Set the windows at the slave,
|
||||
-- i.e. put it at the end of others instead of setting it master.
|
||||
-- awful.client.setslave(c)
|
||||
awful.client.setslave(c)
|
||||
|
||||
-- Put windows in a smart way, only if they does not set an initial position.
|
||||
if not c.size_hints.user_position and not c.size_hints.program_position then
|
||||
|
|
Loading…
Reference in a new issue