diff --git a/src/moveres.c b/src/moveres.c index 63f483ed..3d872180 100644 --- a/src/moveres.c +++ b/src/moveres.c @@ -748,7 +748,8 @@ updateMoveData(WWindow *wwin, MoveData *data) if (tmp != wwin && scr->current_workspace == tmp->frame->workspace && !tmp->flags.miniaturized && !tmp->flags.hidden - && !tmp->flags.obscured) { + && !tmp->flags.obscured + && !WFLAGP(tmp, sunken)) { data->topList[data->count] = tmp; data->leftList[data->count] = tmp; data->rightList[data->count] = tmp;