desktop-shell: Remove yet another center_on_output()
However many times you thought this might reasonably be called when setting up for fullscreen, there were more. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
e32557131e
commit
77b9dbb730
|
@ -2323,8 +2323,6 @@ map(struct desktop_shell *shell, struct shell_surface *shsurf)
|
||||||
|
|
||||||
/* initial positioning, see also configure() */
|
/* initial positioning, see also configure() */
|
||||||
if (shsurf->state.fullscreen) {
|
if (shsurf->state.fullscreen) {
|
||||||
weston_shell_utils_center_on_output(shsurf->view,
|
|
||||||
shsurf->fullscreen_output);
|
|
||||||
shell_set_view_fullscreen(shsurf);
|
shell_set_view_fullscreen(shsurf);
|
||||||
} else if (shsurf->state.maximized) {
|
} else if (shsurf->state.maximized) {
|
||||||
set_maximized_position(shell, shsurf);
|
set_maximized_position(shell, shsurf);
|
||||||
|
|
Loading…
Reference in New Issue