shell: Fix warning and indentation in shell_surface_configure()

dev
Kristian Høgsberg 12 years ago
parent dd2df78b9c
commit 8eb0f4f830
  1. 4
      src/shell.c

@ -3514,11 +3514,11 @@ shell_surface_configure(struct weston_surface *es, int32_t sx, int32_t sy, int32
{ {
struct shell_surface *shsurf = get_shell_surface(es); struct shell_surface *shsurf = get_shell_surface(es);
struct desktop_shell *shell = shsurf->shell; struct desktop_shell *shell = shsurf->shell;
struct weston_compositor *compositor = shsurf->surface->compositor;
int type_changed = 0; int type_changed = 0;
if (!weston_surface_is_mapped(es) && !wl_list_empty(&shsurf->popup.grab_link)) { if (!weston_surface_is_mapped(es) &&
!wl_list_empty(&shsurf->popup.grab_link)) {
remove_popup_grab(shsurf); remove_popup_grab(shsurf);
} }

Loading…
Cancel
Save