+ /*!
+ When this focus_client check is not used, you can end up with races, as
+ demonstrated with gnome-panel, sometmies the window you click on on
+ another desktop ends up losing focus cuz of the fallback.
+ */
+ if (!focus_client)
+ focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);