diff --git a/fvwm/placement.c b/fvwm/placement.c index a34f5765b..d5ece518c 100644 --- a/fvwm/placement.c +++ b/fvwm/placement.c @@ -1738,6 +1738,7 @@ static int __place_window( /* Don't alter the existing desk location during Capture/Recapture. */ if (!win_opts->flags.do_override_ppos) { + fprintf(stderr, "%s: setting desk!\n", __func__); struct monitor *m = fw->m ? fw->m : monitor_get_current(); fw->Desk = m->virtual_scr.CurrentDesk; reason->desk.reason = PR_DESK_CURRENT; @@ -1905,8 +1906,7 @@ static int __place_window( } /* Check the desk here. */ - if (!SUSE_START_ON_DESK(&pstyle->flags) && - ((!Restarting && Scr.flags.are_windows_captured))) { + if (!SUSE_START_ON_DESK(&pstyle->flags)) { struct monitor *mnew = FindScreenOfXY(attr_g->x, attr_g->y); fw->m = mnew; do_move_window_to_desk(fw, mnew->virtual_scr.CurrentDesk);