do not arbitrarily center "lost" child windows, center them on the parent
if the parent is also lost, it will eventually be rescued and thus all children will also be saved #WeirdCommitLogs
This commit is contained in:
parent
34e6f6ab79
commit
63be7d3b3f
|
@ -2238,7 +2238,12 @@ e_client_idler_before(void)
|
|||
)
|
||||
{
|
||||
if (e_config->screen_limits != E_CLIENT_OFFSCREEN_LIMIT_ALLOW_FULL)
|
||||
_e_client_move_lost_window_to_center(ec);
|
||||
{
|
||||
if (ec->parent)
|
||||
e_comp_object_util_center_on(ec->frame, ec->parent->frame);
|
||||
else
|
||||
_e_client_move_lost_window_to_center(ec);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue