summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-04-28 11:19:28 -0400
committerKristian Høgsberg <krh@bitplanet.net>2014-04-30 20:53:15 -0700
commitac985be8cee821595241681f12a813834023c492 (patch)
treef4ccf94c4743e1c2628572b10bc482ce4d781f6e /xwayland
parentd67b52a5017f2cffe5bd7791315d31b3d741033b (diff)
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.
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/window-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index a7afd84f..2fb65b1a 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -2175,8 +2175,7 @@ weston_wm_window_configure(void *data)
}
static void
-send_configure(struct weston_surface *surface,
- uint32_t edges, int32_t width, int32_t height)
+send_configure(struct weston_surface *surface, int32_t width, int32_t height)
{
struct weston_wm_window *window = get_wm_window(surface);
struct weston_wm *wm = window->wm;