mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
awful.tag: Don't tag clients before manage() (FS#1238)
This commit partly reverts commit b4c83d0e70
.
Because the C code emits property::screen before manage, this caused
awful.tag.withcurrent() to run on a client before it really was being managed.
This then tagged the client. Because of this tag changes, awful.layout reacted
and ran the layout code. Because c.type wasn't set up at this point yet, the
client wasn't considered to be floating yet. This caused the client's geometry
to change and thus its floating geometry was messed up.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
df49d180dd
commit
981acad29d
1 changed files with 1 additions and 1 deletions
|
@ -567,10 +567,10 @@ capi.client.connect_signal("manage", function(c, startup)
|
|||
c.screen = capi.mouse.screen
|
||||
end
|
||||
end
|
||||
c:connect_signal("property::screen", tag.withcurrent)
|
||||
end)
|
||||
|
||||
capi.client.connect_signal("manage", tag.withcurrent)
|
||||
capi.client.connect_signal("property::screen", tag.withcurrent)
|
||||
capi.tag.connect_signal("request::select", tag.viewonly)
|
||||
|
||||
capi.tag.add_signal("property::hide")
|
||||
|
|
Loading…
Reference in a new issue