From 4a7dba0198cac68bbb38551ed7ea79a03ef1697e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gross?= Date: Fri, 4 Sep 2009 10:40:36 +0200 Subject: [PATCH] tag.lua: fix new client screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevent from blinking the first screen in multiheads by using the mouse-focused screen tag list for a new client instead of screen 1. Signed-off-by: Sébastien Gross Signed-off-by: Julien Danjou --- lib/awful/tag.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in index 009619468..b23310bbc 100644 --- a/lib/awful/tag.lua.in +++ b/lib/awful/tag.lua.in @@ -316,7 +316,7 @@ function withcurrent(c, startup) c:tags(c.transient_for:tags()) end if #c:tags() == 0 then - c:tags(selectedlist(c.screen)) + c:tags(selectedlist(capi.mouse.screen)) end end end