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
This commit is contained in:
committed by
Kristian Høgsberg
parent
a5059eb187
commit
44a3162eea
@@ -2399,6 +2399,7 @@ set_surface_type(struct shell_surface *shsurf)
|
|||||||
pev->geometry.x + shsurf->transient.x,
|
pev->geometry.x + shsurf->transient.x,
|
||||||
pev->geometry.y + shsurf->transient.y);
|
pev->geometry.y + shsurf->transient.y);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case SHELL_SURFACE_XWAYLAND:
|
case SHELL_SURFACE_XWAYLAND:
|
||||||
weston_view_set_position(shsurf->view, shsurf->transient.x,
|
weston_view_set_position(shsurf->view, shsurf->transient.x,
|
||||||
|
|||||||
Reference in New Issue
Block a user