mirror of
https://github.com/brl/mutter.git
synced 2024-11-11 00:26:40 -05:00
wayland: Remove edges
This is an upstream change to xdg-shell.
This commit is contained in:
parent
d694260ad2
commit
912a0abd26
@ -230,7 +230,6 @@
|
||||
in surface local coordinates.
|
||||
</description>
|
||||
|
||||
<arg name="edges" type="uint"/>
|
||||
<arg name="width" type="int"/>
|
||||
<arg name="height" type="int"/>
|
||||
</event>
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user