set focus_client when focus leaves a window

This commit is contained in:
Dana Jansens 2007-05-13 23:11:16 +00:00
parent df595f9ab2
commit 0c173e1577

View file

@ -573,6 +573,7 @@ static void event_process(const XEvent *ec, gpointer data)
if (client && !nomove) { if (client && !nomove) {
frame_adjust_focus(client->frame, FALSE); frame_adjust_focus(client->frame, FALSE);
focus_set_client(NULL);
/* focus_set_client has already been called for sure */ /* focus_set_client has already been called for sure */
client_calc_layer(client); client_calc_layer(client);
} }