[mutter] wayland: send xdg-output size as size, not position



commit 3e77f6704b1b2f3cd1943a4f9ebb50e46236a882
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Mon Jan 15 10:41:01 2018 +0100

    wayland: send xdg-output size as size, not position
    
    https://bugzilla.gnome.org/show_bug.cgi?id=792527

 src/wayland/meta-wayland-outputs.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/wayland/meta-wayland-outputs.c b/src/wayland/meta-wayland-outputs.c
index 51f5332..509527d 100644
--- a/src/wayland/meta-wayland-outputs.c
+++ b/src/wayland/meta-wayland-outputs.c
@@ -541,9 +541,9 @@ send_xdg_output_events (struct wl_resource *resource,
       old_layout.width != new_layout.width ||
       old_layout.height != new_layout.height)
     {
-      zxdg_output_v1_send_logical_position (resource,
-                                            new_layout.width,
-                                            new_layout.height);
+      zxdg_output_v1_send_logical_size (resource,
+                                        new_layout.width,
+                                        new_layout.height);
       need_done = TRUE;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]