From 44a3162eeaea6d70013db081cb2f7a0c5e79ff45 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Wed, 4 Dec 2013 18:37:16 -0200 Subject: [PATCH] shell: Add missing break to a case statement inside set_surface_type. This should fix the surface not going back to its original position after unsetting fullscreen or maximized states. https://bugs.freedesktop.org/show_bug.cgi?id=72321 --- desktop-shell/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 05d78146..7c202eaa 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -2399,6 +2399,7 @@ set_surface_type(struct shell_surface *shsurf) pev->geometry.x + shsurf->transient.x, pev->geometry.y + shsurf->transient.y); } + break; case SHELL_SURFACE_XWAYLAND: weston_view_set_position(shsurf->view, shsurf->transient.x,