diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml index 4e5cff8df..851b2cebb 100644 --- a/protocol/xdg-shell.xml +++ b/protocol/xdg-shell.xml @@ -230,7 +230,6 @@ in surface local coordinates. - diff --git a/src/core/window.c b/src/core/window.c index ee29fd4b2..984b3508a 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -4741,9 +4741,7 @@ meta_window_move_resize_internal (MetaWindow *window, need_resize_client = TRUE; meta_wayland_surface_configure_notify (window->surface, new_rect.width, - new_rect.height, - (dx != 0 ? WL_SHELL_SURFACE_RESIZE_LEFT : 0) | - (dy != 0 ? WL_SHELL_SURFACE_RESIZE_TOP : 0)); + new_rect.height); } else { diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index c24645e73..2920e2a87 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -1434,12 +1434,11 @@ meta_wayland_init_shell (MetaWaylandCompositor *compositor) void meta_wayland_surface_configure_notify (MetaWaylandSurface *surface, int new_width, - int new_height, - int edges) + int new_height) { if (surface->xdg_surface.resource) xdg_surface_send_configure (surface->xdg_surface.resource, - edges, new_width, new_height); + new_width, new_height); } void diff --git a/src/wayland/meta-wayland-surface.h b/src/wayland/meta-wayland-surface.h index 3e1b29737..172201386 100644 --- a/src/wayland/meta-wayland-surface.h +++ b/src/wayland/meta-wayland-surface.h @@ -108,8 +108,7 @@ MetaWaylandSurface *meta_wayland_surface_create (MetaWaylandCompositor *composit guint32 version); void meta_wayland_surface_configure_notify (MetaWaylandSurface *surface, int width, - int height, - int edges); + int height); void meta_wayland_surface_focused_set (MetaWaylandSurface *surface); void meta_wayland_surface_focused_unset (MetaWaylandSurface *surface);