From e2edabb8b18f55d2197895bcb44c9ee42d51496d Mon Sep 17 00:00:00 2001 From: Alexander Gehrke Date: Wed, 25 Jan 2017 12:11:11 +0100 Subject: [PATCH] ewhm: fix some transient windows not being movable to other screens (#1406) (#1452) --- lib/awful/ewmh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/ewmh.lua b/lib/awful/ewmh.lua index eb72a16c..57bab35b 100644 --- a/lib/awful/ewmh.lua +++ b/lib/awful/ewmh.lua @@ -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())