From df49d180dd5d5f63c01e8e3455f138a429851e88 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 24 Mar 2014 09:49:30 +0100 Subject: [PATCH] Revert "Set c.screen in ewmh.tag and before tags in rules.execute" This reverts commit 3f9c439311a95fe6bdf083f09363ae196d8e1140. --- lib/awful/ewmh.lua.in | 1 - lib/awful/rules.lua.in | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/awful/ewmh.lua.in b/lib/awful/ewmh.lua.in index e2fc0b4e..e6928296 100644 --- a/lib/awful/ewmh.lua.in +++ b/lib/awful/ewmh.lua.in @@ -147,7 +147,6 @@ function ewmh.tag(c, t) if not t then c.sticky = true else - c.screen = awful.tag.getscreen(t) c:tags({ t }) end end diff --git a/lib/awful/rules.lua.in b/lib/awful/rules.lua.in index 32d84a4d..cb657cad 100644 --- a/lib/awful/rules.lua.in +++ b/lib/awful/rules.lua.in @@ -206,8 +206,8 @@ function rules.execute(c, props, callbacks) if property == "floating" then aclient.floating.set(c, value) elseif property == "tag" then - c.screen = atag.getscreen(value) c:tags({ value }) + c.screen = atag.getscreen(value) elseif property == "switchtotag" and value and props.tag then atag.viewonly(props.tag) elseif property == "height" or property == "width" or