compositor: Remove the edges parameter from send_configure

send_configure was originally modelled after
wl_shell_surface::send_configure, which takes these arguments. However,
the X WM and xdg_surface::configure variants don't use these arguments.

We already store the resize edges for a surface while it's being
resized, so just use the saved state in the wl_shell_surface variant.
This commit is contained in:
Jasper St. Pierre
2014-04-28 11:19:28 -04:00
committed by Kristian Høgsberg
parent d67b52a501
commit ac985be8ce
3 changed files with 11 additions and 15 deletions
+1 -2
View File
@@ -82,8 +82,7 @@ struct weston_mode {
};
struct weston_shell_client {
void (*send_configure)(struct weston_surface *surface,
uint32_t edges, int32_t width, int32_t height);
void (*send_configure)(struct weston_surface *surface, int32_t width, int32_t height);
};
struct weston_shell_interface {