- /* focus the next available target */
- focus_fallback(e->data.o.num[0], TRUE);
- break;
-
- case Event_Client_Unfocus:
- /* nothing is left with focus! */
- if (focus_client == NULL)
- /* focus the next available target */
- focus_fallback(screen_desktop, FALSE);
- break;
-
- case Event_Client_Focus:
- /* move to the top of the list */
- focus_order[e->data.c.num[1]] =
- g_slist_remove(focus_order[e->data.c.num[1]], e->data.c.client);
- focus_order[e->data.c.num[1]] =
- g_slist_prepend(focus_order[e->data.c.num[1]], e->data.c.client);