revert patch, doesnt work

This commit is contained in:
Mikael Magnusson 2004-08-22 00:23:44 +00:00
parent 6ec5ccdf63
commit 1ed2670b89

View file

@ -320,7 +320,7 @@ ObClient* focus_fallback_target(ObFocusFallbackType type)
void focus_fallback(ObFocusFallbackType type) void focus_fallback(ObFocusFallbackType type)
{ {
ObClient *new = focus_fallback_target(type); ObClient *new;
/* unfocus any focused clients.. they can be focused by Pointer events /* 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 and such, and then when I try focus them, I won't get a FocusIn event
@ -328,7 +328,7 @@ void focus_fallback(ObFocusFallbackType type)
*/ */
focus_set_client(NULL); focus_set_client(NULL);
if (new) if ((new = focus_fallback_target(type)))
client_focus(new); client_focus(new);
} }