all repos — openbox @ 1ed2670b891929be289b4099ee752a592e8f123b

openbox fork - make it a bit more like ryudo

revert patch, doesnt work
Mikael Magnusson mikachu@comhem.se
commit

1ed2670b891929be289b4099ee752a592e8f123b

parent

6ec5ccdf634adbed436b4fd88edcb19275e931f6

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

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

@@ -320,7 +320,7 @@ }

void focus_fallback(ObFocusFallbackType type) { - ObClient *new = focus_fallback_target(type); + ObClient *new; /* unfocus any focused clients.. they can be focused by Pointer events and such, and then when I try focus them, I won't get a FocusIn event

@@ -328,7 +328,7 @@ at all for them.

*/ focus_set_client(NULL); - if (new) + if ((new = focus_fallback_target(type))) client_focus(new); }