mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
ewmh.tag: Fix the transient_for clients without parent client tags (#1610)
ewmh.tag: Fix the transient_for clients without parent client tags Fix #1594
This commit is contained in:
parent
04b73db722
commit
ef668bc028
1 changed files with 2 additions and 1 deletions
|
@ -204,7 +204,8 @@ function ewmh.tag(c, t, hints) --luacheck: no unused
|
|||
if c.transient_for and not (hints and hints.reason == "screen") then
|
||||
c.screen = c.transient_for.screen
|
||||
if not c.sticky then
|
||||
c:tags(c.transient_for:tags())
|
||||
local tags = c.transient_for:tags()
|
||||
c:tags(#tags > 0 and tags or c.transient_for.screen.selected_tags)
|
||||
end
|
||||
else
|
||||
c:to_selected_tags()
|
||||
|
|
Loading…
Reference in a new issue