[PATCH v2] shell: Add missing break to a case statement inside set_surface_type.
Rafael Antognolli
rafael.antognolli at intel.com
Wed Dec 4 12:37:16 PST 2013
This should fix the surface not going back to its original position
after unsetting fullscreen or maximized states.
---
desktop-shell/shell.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index de54e37..1b63430 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,
--
1.8.3.1
More information about the wayland-devel
mailing list