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
dev
Rafael Antognolli 11 years ago committed by Kristian Høgsberg
parent a5059eb187
commit 44a3162eea
  1. 1
      desktop-shell/shell.c

@ -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,

Loading…
Cancel
Save