From 4a17da051f94d8f8cca6353891bb85d331f60a19 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 23 May 2008 23:08:37 +0200 Subject: [PATCH] [awesomerc] Set border on newclient Signed-off-by: Julien Danjou --- awesomerc.lua.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 6217ca05..d512863d 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -181,6 +181,9 @@ end -- Hook function to execute when a new client appears. function hook_newclient(c) + -- New client may not receive focus + -- if they're not focusable, so set border anyway. + c:border_set({ width = 1, color = "black" }) c:focus_set() local name = c:name_get() if name:lower():find("mplayer") then