}
ObClient *focus_cycle(gboolean forward, gboolean linear, gboolean done,
- gboolean cancel)
+ gboolean cancel)
{
static ObClient *first = NULL;
static ObClient *t = NULL;
goto done_cycle;
} else if (done) {
if (focus_cycle_target)
- client_activate(focus_cycle_target);
+ client_activate(focus_cycle_target, FALSE);
goto done_cycle;
}
- if (!first)
- grab_pointer(TRUE, None);
if (!first) first = focus_client;
if (!focus_cycle_target) focus_cycle_target = focus_client;
desktop */
if (ft->transients == NULL && client_normal(ft) &&
((ft->can_focus || ft->focus_notify) &&
+ !ft->skip_taskbar &&
(ft->desktop == screen_desktop || ft->desktop == DESKTOP_ALL))) {
if (ft != focus_cycle_target) { /* prevents flicker */
if (focus_cycle_target)
order = NULL;
popup_cycle(ft, FALSE);
- grab_pointer(FALSE, None);
return NULL;
}