all repos — openbox @ b1fe0dbbc2ef4472ac8893d9b3b20e9cb149af6d

openbox fork - make it a bit more like ryudo

dont refocus the focused window, that just causes so many problems (with alt-tab :)
Dana Jansens danakj@orodu.net
commit

b1fe0dbbc2ef4472ac8893d9b3b20e9cb149af6d

parent

f68eb1fc250b13a473d825ac5c69b6d5e28b9595

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -581,8 +581,10 @@ case FocusIn:

#ifdef DEBUG_FOCUS g_message("FocusIn on client for %lx", client->window); #endif - focus_set_client(client); - frame_adjust_focus(client->frame, TRUE); + if (client != focus_client) { + focus_set_client(client); + frame_adjust_focus(client->frame, TRUE); + } break; case FocusOut: #ifdef DEBUG_FOCUS