client_focus_refresh: Always set input focus
commitba64f3c3cd9e1cded99e1677ee6aa21cfa3cd078
authorUli Schlachter <psychon@znc.in>
Fri, 6 Apr 2012 10:20:57 +0000 (6 12:20 +0200)
committerUli Schlachter <psychon@znc.in>
Fri, 6 Apr 2012 10:24:34 +0000 (6 12:24 +0200)
tree54b010d65f9efcb03f62b2096fab5d1890441a3a
parent819daca18c9ad25493e3e7023dd5b107b79683cd
client_focus_refresh: Always set input focus

Lua code can give the input focus to unfocusable clients. That means they have
nofocus set and they don't implement WM_TAKE_FOCUS.

Previously, the previously focused client continued getting input events in that
event. Now the last client is properly unfocused.

Signed-off-by: Uli Schlachter <psychon@znc.in>
objects/client.c