diff options
Diffstat (limited to 'desktop-shell/shell.c')
-rw-r--r-- | desktop-shell/shell.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 1c39a12d..7d5bca95 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -2561,6 +2561,13 @@ shell_surface_set_fullscreen(struct wl_client *client, struct shell_surface *shsurf = wl_resource_get_user_data(resource); struct weston_output *output; + if (shsurf->fullscreen_output == shsurf->output && + shsurf->fullscreen.type == method && + shsurf->fullscreen.framerate == framerate) { + send_configure_for_surface(shsurf); + return; + } + if (output_resource) output = wl_resource_get_user_data(output_resource); else |