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

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to