From df0a4cd1c637af8bc1d5cb6c61abf4f082058846 Mon Sep 17 00:00:00 2001 From: Martin Minarik Date: Sun, 20 May 2012 03:03:09 +0200 Subject: [PATCH] Workaround for resizing windows in xwayland. The proper solution would be changing xserver-launcher.c to offer a configure callback to shell.c to call for resizing --- src/shell.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index 52c21e5..d551849 100644 --- a/src/shell.c +++ b/src/shell.c @@ -584,6 +584,7 @@ resize_grab_motion(struct wl_pointer_grab *grab, height += wl_fixed_to_int(to_y - from_y); } + if (resize->base.shsurf->resource.object.interface != NULL) wl_shell_surface_send_configure(&resize->base.shsurf->resource, resize->edges, width, height); } -- 1.7.5.4