*/
if (!focus_left_screen)
- focus_fallback(TRUE, FALSE);
+ focus_fallback(FALSE, FALSE);
}
}
else if (!client)
dock_hide(FALSE);
break;
case LeaveNotify:
- dock_hide(TRUE);
+ /* don't hide when moving into a dock app */
+ if (e->xcrossing.detail != NotifyInferior)
+ dock_hide(TRUE);
break;
}
}