ewhm: fix some transient windows not being movable to other screens (#1406) (#1452)

This commit is contained in:
Alexander Gehrke 2017-01-25 12:11:11 +01:00 committed by Daniel Hahler
parent 508614dfd2
commit e2edabb8b1
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ function ewmh.tag(c, t, hints) --luacheck: no unused
if not t and #get_valid_tags(c, c.screen) > 0 then return end
if not t then
if c.transient_for then
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())