Bugfixes
This commit is contained in:
parent
e846420728
commit
2ef0ef3271
3 changed files with 10 additions and 6 deletions
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…
Add table
Add a link
Reference in a new issue