[mutter] wayland: Move the RESULT_RESIZED code to the proper place
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Move the RESULT_RESIZED code to the proper place
- Date: Wed, 16 Apr 2014 20:32:24 +0000 (UTC)
commit eb1c9175f9e9c234e2ed5e17fc774e0a7a1ad6a7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Apr 16 16:30:11 2014 -0400
wayland: Move the RESULT_RESIZED code to the proper place
We need to set this when we update window->rect, not when we simply
send out a configure event.
src/wayland/window-wayland.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/window-wayland.c b/src/wayland/window-wayland.c
index 52bea59..1d7319c 100644
--- a/src/wayland/window-wayland.c
+++ b/src/wayland/window-wayland.c
@@ -139,6 +139,7 @@ meta_window_wayland_move_resize_internal (MetaWindow *window,
* update the real client size to match the buffer size.
*/
+ *result |= META_MOVE_RESIZE_RESULT_RESIZED;
window->rect.width = requested_rect.width;
window->rect.height = requested_rect.height;
@@ -150,7 +151,6 @@ meta_window_wayland_move_resize_internal (MetaWindow *window,
if (constrained_rect.width != window->rect.width ||
constrained_rect.height != window->rect.height)
{
- *result |= META_MOVE_RESIZE_RESULT_RESIZED;
meta_wayland_surface_configure_notify (window->surface,
constrained_rect.width,
constrained_rect.height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]