desktop-shell: Delete pointless function wrapper
shell_map_fullscreen() just duplicated shell_configure_fullscreen() exactly. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
49a122bd30
commit
e4e3cc198f
@ -1975,12 +1975,6 @@ shell_configure_fullscreen(struct shell_surface *shsurf)
|
|||||||
shell_ensure_fullscreen_black_view(shsurf);
|
shell_ensure_fullscreen_black_view(shsurf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
shell_map_fullscreen(struct shell_surface *shsurf)
|
|
||||||
{
|
|
||||||
shell_configure_fullscreen(shsurf);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
desktop_shell_destroy_seat(struct shell_seat *shseat)
|
desktop_shell_destroy_seat(struct shell_seat *shseat)
|
||||||
{
|
{
|
||||||
@ -2337,7 +2331,7 @@ map(struct desktop_shell *shell, struct shell_surface *shsurf)
|
|||||||
if (shsurf->state.fullscreen) {
|
if (shsurf->state.fullscreen) {
|
||||||
weston_shell_utils_center_on_output(shsurf->view,
|
weston_shell_utils_center_on_output(shsurf->view,
|
||||||
shsurf->fullscreen_output);
|
shsurf->fullscreen_output);
|
||||||
shell_map_fullscreen(shsurf);
|
shell_configure_fullscreen(shsurf);
|
||||||
} else if (shsurf->state.maximized) {
|
} else if (shsurf->state.maximized) {
|
||||||
set_maximized_position(shell, shsurf);
|
set_maximized_position(shell, shsurf);
|
||||||
} else if (shsurf->xwayland.is_set) {
|
} else if (shsurf->xwayland.is_set) {
|
||||||
|
Loading…
Reference in New Issue
Block a user