dont refocus the focused window, that just causes so many problems (with alt-tab :)
This commit is contained in:
parent
f68eb1fc25
commit
b1fe0dbbc2
1 changed files with 4 additions and 2 deletions
|
@ -581,8 +581,10 @@ static void event_handle_client(Client *client, XEvent *e)
|
||||||
#ifdef DEBUG_FOCUS
|
#ifdef DEBUG_FOCUS
|
||||||
g_message("FocusIn on client for %lx", client->window);
|
g_message("FocusIn on client for %lx", client->window);
|
||||||
#endif
|
#endif
|
||||||
focus_set_client(client);
|
if (client != focus_client) {
|
||||||
frame_adjust_focus(client->frame, TRUE);
|
focus_set_client(client);
|
||||||
|
frame_adjust_focus(client->frame, TRUE);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case FocusOut:
|
case FocusOut:
|
||||||
#ifdef DEBUG_FOCUS
|
#ifdef DEBUG_FOCUS
|
||||||
|
|
Loading…
Reference in a new issue