[awesomerc] Set border on newclient

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-23 23:08:37 +02:00
parent 67b2702b7d
commit 4a17da051f
1 changed files with 3 additions and 0 deletions

View File

@ -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