r49163 - in /desktop/unstable/mutter/debian: ./ patches/

smcv at users.alioth.debian.org smcv at users.alioth.debian.org
Fri Jun 24 18:47:48 UTC 2016


Author: smcv
Date: Fri Jun 24 18:47:48 2016
New Revision: 49163

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=49163
Log:
* Add all patches from upstream gnome-3-20 branch up to 2016-06-23
  - fix possible crash in X11
  - ensure that all window frames are drawn similarly
  - avoid redrawing the entire window every frame
  - make windows that are unmaximized via drag follow the cursor

Added:
    desktop/unstable/mutter/debian/patches/Updated-Indonesian-translation.patch
    desktop/unstable/mutter/debian/patches/frames-Don-t-clip-out-invisible-parts-of-frames.patch
    desktop/unstable/mutter/debian/patches/frames-Initialize-frame-background.patch
    desktop/unstable/mutter/debian/patches/surface-actor-Keep-track-of-ignored-damage.patch
    desktop/unstable/mutter/debian/patches/ui-frames-Drop-the-current-grab-info-on-button-relea.patch
    desktop/unstable/mutter/debian/patches/wayland-Mark-pending-moved-as-moved.patch
Modified:
    desktop/unstable/mutter/debian/changelog
    desktop/unstable/mutter/debian/patches/series

Modified: desktop/unstable/mutter/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/changelog?rev=49163&op=diff
==============================================================================
--- desktop/unstable/mutter/debian/changelog	[utf-8] (original)
+++ desktop/unstable/mutter/debian/changelog	[utf-8] Fri Jun 24 18:47:48 2016
@@ -6,12 +6,15 @@
     format
 
   [ Simon McVittie ]
-  * Add all patches from upstream gnome-3-20 branch up to 2016-06-10
-    - fix a possible crash in Wayland
+  * Add all patches from upstream gnome-3-20 branch up to 2016-06-23
+    - fix possible crashes in Wayland and in X11
     - ensure that Wayland output reconfiguration finishes correctly
     - implement "force quit" in Wayland using kill(), like in X11
     - improve UTF-8 correctness
     - update translations
+    - ensure that all window frames are drawn similarly
+    - avoid redrawing the entire window every frame
+    - make windows that are unmaximized via drag follow the cursor
   * Backport patch from upstream to introduce XDG_SURFACE_STATE_GNOME_TILED
     and mark tiled windows with it, allowing GDK versions with a
     corresponding patch to report GDK_WINDOW_STATE_TILED correctly under

Added: desktop/unstable/mutter/debian/patches/Updated-Indonesian-translation.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/Updated-Indonesian-translation.patch?rev=49163&op=file
==============================================================================
--- desktop/unstable/mutter/debian/patches/Updated-Indonesian-translation.patch	(added)
+++ desktop/unstable/mutter/debian/patches/Updated-Indonesian-translation.patch	[utf-8] Fri Jun 24 18:47:48 2016
@@ -0,0 +1,159 @@
+From bd1297f35ce03bf0c06997e10bc584b62da4d25e Mon Sep 17 00:00:00 2001
+From: Andika Triwidada <atriwidada at gnome.org>
+Date: Wed, 22 Jun 2016 21:19:43 +0000
+Subject: [PATCH 3/7] Updated Indonesian translation
+
+---
+ po/id.po | 48 ++++++++++++++++++++++++++----------------------
+ 1 file changed, 26 insertions(+), 22 deletions(-)
+
+diff --git a/po/id.po b/po/id.po
+index 9341686..45c0467 100644
+--- a/po/id.po
++++ b/po/id.po
+@@ -8,18 +8,18 @@
+ # Andika Triwidada <andika at gmail.com>, 2011-2015.
+ msgid ""
+ msgstr ""
+-"Project-Id-Version: mutter master\n"
++"Project-Id-Version: mutter gnome-3-20\n"
+ "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
+ "product=mutter&keywords=I18N+L10N&component=general\n"
+-"POT-Creation-Date: 2015-03-21 11:13+0000\n"
+-"PO-Revision-Date: 2015-03-21 19:04+0700\n"
++"POT-Creation-Date: 2016-05-10 20:26+0000\n"
++"PO-Revision-Date: 2016-06-23 04:18+0700\n"
+ "Last-Translator: Andika Triwidada <andika at gmail.com>\n"
+ "Language-Team: Indonesian <gnome-l10n-id at googlegroups.com>\n"
+ "Language: id\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=UTF-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
+-"X-Generator: Poedit 1.7.1\n"
++"X-Generator: Poedit 1.8.8\n"
+ "Plural-Forms: nplurals=1; plural=0;\n"
+ 
+ #: ../data/50-mutter-navigation.xml.in.h:1
+@@ -454,22 +454,22 @@ msgstr "Pindah ke VT 11"
+ msgid "Switch to VT 12"
+ msgstr "Pindah ke VT 12"
+ 
+-#: ../src/backends/meta-monitor-manager.c:364
++#: ../src/backends/meta-monitor-manager.c:515
+ msgid "Built-in display"
+ msgstr "Tampilan bawaan"
+ 
+-#: ../src/backends/meta-monitor-manager.c:391
++#: ../src/backends/meta-monitor-manager.c:538
+ msgid "Unknown"
+ msgstr "Tak Dikenal"
+ 
+-#: ../src/backends/meta-monitor-manager.c:393
++#: ../src/backends/meta-monitor-manager.c:540
+ msgid "Unknown Display"
+ msgstr "Tampilan Tak Dikenal"
+ 
+ #. TRANSLATORS: this is a monitor vendor name, followed by a
+ #. * size in inches, like 'Dell 15"'
+ #.
+-#: ../src/backends/meta-monitor-manager.c:401
++#: ../src/backends/meta-monitor-manager.c:548
+ #, c-format
+ msgid "%s %s"
+ msgstr "%s %s"
+@@ -484,7 +484,7 @@ msgid ""
+ msgstr ""
+ "Manajer komposit lain telah berjalan pada layar %i pada tampilan \"%s\"."
+ 
+-#: ../src/core/bell.c:185
++#: ../src/core/bell.c:194
+ msgid "Bell event"
+ msgstr "Bel peristiwa"
+ 
+@@ -512,40 +512,44 @@ msgstr "_Tunggu"
+ msgid "_Force Quit"
+ msgstr "_Matikan Paksa"
+ 
+-#: ../src/core/display.c:562
++#: ../src/core/display.c:555
+ #, c-format
+ msgid "Failed to open X Window System display '%s'\n"
+ msgstr "Gagal membuka tampilan X Window System '%s'\n"
+ 
+-#: ../src/core/main.c:176
++#: ../src/core/main.c:181
+ msgid "Disable connection to session manager"
+ msgstr "Menonaktifkan koneksi ke manajer sesi"
+ 
+-#: ../src/core/main.c:182
++#: ../src/core/main.c:187
+ msgid "Replace the running window manager"
+ msgstr "Mengganti manajer jendela yang tengah berjalan"
+ 
+-#: ../src/core/main.c:188
++#: ../src/core/main.c:193
+ msgid "Specify session management ID"
+ msgstr "Tentukan kode pengaturan sesi"
+ 
+-#: ../src/core/main.c:193
++#: ../src/core/main.c:198
+ msgid "X Display to use"
+ msgstr "Tampilan X yang digunakna"
+ 
+-#: ../src/core/main.c:199
++#: ../src/core/main.c:204
+ msgid "Initialize session from savefile"
+ msgstr "Aktifkan sesi dari berkas simpanan"
+ 
+-#: ../src/core/main.c:205
++#: ../src/core/main.c:210
+ msgid "Make X calls synchronous"
+ msgstr "Buat panggilan X selaras"
+ 
+-#: ../src/core/main.c:212
++#: ../src/core/main.c:217
+ msgid "Run as a wayland compositor"
+ msgstr "Jalankan sebagai kompositor wayland"
+ 
+-#: ../src/core/main.c:220
++#: ../src/core/main.c:223
++msgid "Run as a nested compositor"
++msgstr "Jalankan sebagai kompositor bersarang"
++
++#: ../src/core/main.c:231
+ msgid "Run as a full display server, rather than nested"
+ msgstr "Jalankan sebagai server tampilan penuh, ketimbang tampilan bersarang"
+ 
+@@ -573,12 +577,12 @@ msgstr "Cetak versi"
+ msgid "Mutter plugin to use"
+ msgstr "Pengaya Mutter yang dipakai"
+ 
+-#: ../src/core/prefs.c:2004
++#: ../src/core/prefs.c:1997
+ #, c-format
+ msgid "Workspace %d"
+ msgstr "Area kerja %d"
+ 
+-#: ../src/core/screen.c:525
++#: ../src/core/screen.c:521
+ #, c-format
+ msgid ""
+ "Display \"%s\" already has a window manager; try using the --replace option "
+@@ -587,12 +591,12 @@ msgstr ""
+ "Tampilan \"%s\" sudah memiliki manajer jendela; cobalah gunakan pilihan --"
+ "replace untuk mengganti manajer jendela saat ini."
+ 
+-#: ../src/core/screen.c:607
++#: ../src/core/screen.c:603
+ #, c-format
+ msgid "Screen %d on display '%s' is invalid\n"
+ msgstr "Layar %d pada tampilan '%s' tidak benar\n"
+ 
+-#: ../src/core/util.c:118
++#: ../src/core/util.c:121
+ msgid "Mutter was compiled without support for verbose mode\n"
+ msgstr "Muter dikompilasi tanpa dukungan mode riuh\n"
+ 
+-- 
+2.8.1
+

Added: desktop/unstable/mutter/debian/patches/frames-Don-t-clip-out-invisible-parts-of-frames.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/frames-Don-t-clip-out-invisible-parts-of-frames.patch?rev=49163&op=file
==============================================================================
--- desktop/unstable/mutter/debian/patches/frames-Don-t-clip-out-invisible-parts-of-frames.patch	(added)
+++ desktop/unstable/mutter/debian/patches/frames-Don-t-clip-out-invisible-parts-of-frames.patch	[utf-8] Fri Jun 24 18:47:48 2016
@@ -0,0 +1,68 @@
+From 9b5daf90944623f9e5f82ae329cb00cac15ea42c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner at gnome.org>
+Date: Thu, 23 Jun 2016 12:30:47 +0200
+Subject: [PATCH 4/7] frames: Don't clip out "invisible" parts of frames
+
+The GTK+ theme may draw parts of the decorations outside the actual
+frame. Since commit f9db65f47f we make sure that the frame is big
+enough to account for any overdrawing, however as we still clip the
+cairo context to the actual frame before drawing the decorations,
+those parts aren't actually painted.
+This issue is not very obvious for most frames, as they use a non-rgba
+visual where the unpainted parts appear black, which gives the expected
+result with many themes once the shape mask is applied (as the mask does
+include any overdrawn parts). For frames using an rgba visual however,
+unpainted parts are transparent, so any overdrawn decorations are clearly
+missing.
+Fix this by only clipping out the client area when drawing decorations.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=745060
+---
+ src/ui/frames.c | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/src/ui/frames.c b/src/ui/frames.c
+index 4296862..746fdea 100644
+--- a/src/ui/frames.c
++++ b/src/ui/frames.c
+@@ -1292,7 +1292,7 @@ get_visible_frame_border_region (MetaUIFrame *frame)
+   MetaFrameFlags flags;
+   MetaFrameType type;
+   MetaFrameBorders borders;
+-  MetaRectangle frame_rect = frame->meta_window->rect;
++  MetaRectangle buffer_rect = frame->meta_window->buffer_rect;
+ 
+   flags = meta_frame_get_flags (frame->meta_window->frame);
+   type = meta_window_get_frame_type (frame->meta_window);
+@@ -1301,19 +1301,19 @@ get_visible_frame_border_region (MetaUIFrame *frame)
+                                 type, frame->text_height, flags,
+                                 &borders);
+ 
+-  /* Visible frame rect */
+-  area.x = borders.invisible.left;
+-  area.y = borders.invisible.top;
+-  area.width = frame_rect.width;
+-  area.height = frame_rect.height;
++  /* Frame rect */
++  area.x = 0;
++  area.y = 0;
++  area.width = buffer_rect.width;
++  area.height = buffer_rect.height;
+ 
+   frame_border = cairo_region_create_rectangle (&area);
+ 
+   /* Client rect */
+-  area.x += borders.visible.left;
+-  area.y += borders.visible.top;
+-  area.width -= borders.visible.left + borders.visible.right;
+-  area.height -= borders.visible.top + borders.visible.bottom;
++  area.x += borders.total.left;
++  area.y += borders.total.top;
++  area.width -= borders.total.left + borders.total.right;
++  area.height -= borders.total.top + borders.total.bottom;
+ 
+   /* Visible frame border */
+   cairo_region_subtract_rectangle (frame_border, &area);
+-- 
+2.8.1
+

Added: desktop/unstable/mutter/debian/patches/frames-Initialize-frame-background.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/frames-Initialize-frame-background.patch?rev=49163&op=file
==============================================================================
--- desktop/unstable/mutter/debian/patches/frames-Initialize-frame-background.patch	(added)
+++ desktop/unstable/mutter/debian/patches/frames-Initialize-frame-background.patch	[utf-8] Fri Jun 24 18:47:48 2016
@@ -0,0 +1,42 @@
+From 9ec231f60356b1a01f8bd714131c1e2a01df7b9d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner at gnome.org>
+Date: Thu, 23 Jun 2016 12:35:44 +0200
+Subject: [PATCH 5/7] frames: "Initialize" frame background
+
+Frames are painted on the frame window according to the GTK+ theme.
+Depending on the target's visual, this means either drawing over
+a black destination or a fully transparent one. So in cases where
+the theme doesn't paint decorations with full opacity, decorations
+for windows with an rgba visual look different from those with a
+non-rgba visual. Using an rgba visual for all frames independent
+from the client's visual can potentially break clients, so our
+only option for a consistent appearance is to explicitly initialize
+the frame background to black before painting the theme's decoration
+on top.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=745060
+---
+ src/ui/frames.c | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/src/ui/frames.c b/src/ui/frames.c
+index 746fdea..0e90567 100644
+--- a/src/ui/frames.c
++++ b/src/ui/frames.c
+@@ -1403,6 +1403,13 @@ meta_frames_draw (GtkWidget *widget,
+   gdk_cairo_region (cr, region);
+   cairo_clip (cr);
+ 
++  /* The target may be cleared to black or transparent, depending
++   * on the frame's visual; we don't want decorations to appear
++   * differently when the theme's decorations aren't fully opaque,
++   * so clear to black first
++   */
++  cairo_paint (cr);
++
+   meta_ui_frame_paint (frame, cr);
+   cairo_region_destroy (region);
+ 
+-- 
+2.8.1
+

Modified: desktop/unstable/mutter/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/series?rev=49163&op=diff
==============================================================================
--- desktop/unstable/mutter/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/mutter/debian/patches/series	[utf-8] Fri Jun 24 18:47:48 2016
@@ -6,6 +6,12 @@
 x11-window-props-Convert-WM_NAME-and-WM_CLASS-to-UTF.patch
 wayland-surface-UTF-8-validate-title-class-and-app-I.patch
 wayland-Implement-force-quit-using-kill.patch
+wayland-Mark-pending-moved-as-moved.patch
+surface-actor-Keep-track-of-ignored-damage.patch
+Updated-Indonesian-translation.patch
+frames-Don-t-clip-out-invisible-parts-of-frames.patch
+frames-Initialize-frame-background.patch
+ui-frames-Drop-the-current-grab-info-on-button-relea.patch
 
 01_Wcast-align.patch
 wayland-add-extended-state-for-tiled.patch

Added: desktop/unstable/mutter/debian/patches/surface-actor-Keep-track-of-ignored-damage.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/surface-actor-Keep-track-of-ignored-damage.patch?rev=49163&op=file
==============================================================================
--- desktop/unstable/mutter/debian/patches/surface-actor-Keep-track-of-ignored-damage.patch	(added)
+++ desktop/unstable/mutter/debian/patches/surface-actor-Keep-track-of-ignored-damage.patch	[utf-8] Fri Jun 24 18:47:48 2016
@@ -0,0 +1,91 @@
+From 15aa1a5140f738e97643e6b145f1ba7144590f44 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner at gnome.org>
+Date: Fri, 17 Jun 2016 17:45:20 +0200
+Subject: [PATCH 2/7] surface-actor: Keep track of ignored damage
+
+We ignore all damage while a surface is frozen and queue a full
+update instead once it's thawed. While not super efficient, this
+isn't overly bad for the intended case of catching up with any
+updates that happened during a compositor effect. However when
+extended frame sync is used, surfaces are also frozen while the
+client is drawing a frame, in which case the current behavior is
+pretty damaging (pun intended), as we end up redrawing the entire
+window each frame. To address this, keep track of the actual damage
+we ignore and apply it when the surface is thawed.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=767798
+---
+ src/compositor/meta-surface-actor.c | 33 +++++++++++++++++++++------------
+ 1 file changed, 21 insertions(+), 12 deletions(-)
+
+diff --git a/src/compositor/meta-surface-actor.c b/src/compositor/meta-surface-actor.c
+index 6f3a929..bf8c76f 100644
+--- a/src/compositor/meta-surface-actor.c
++++ b/src/compositor/meta-surface-actor.c
+@@ -25,7 +25,7 @@ struct _MetaSurfaceActorPrivate
+   cairo_region_t *input_region;
+ 
+   /* Freeze/thaw accounting */
+-  guint needs_damage_all : 1;
++  cairo_region_t *pending_damage;
+   guint frozen : 1;
+ };
+ 
+@@ -261,9 +261,8 @@ meta_surface_actor_process_damage (MetaSurfaceActor *self,
+        * here on the off chance that this will stop the corresponding
+        * texture_from_pixmap from being update.
+        *
+-       * needs_damage_all tracks that some unknown damage happened while the
+-       * window was frozen so that when the window becomes unfrozen we can
+-       * issue a full window update to cover any lost damage.
++       * pending_damage tracks any damage that happened while the window was
++       * frozen so that when can apply it when the window becomes unfrozen.
+        *
+        * It should be noted that this is an unreliable mechanism since it's
+        * quite likely that drivers will aim to provide a zero-copy
+@@ -271,7 +270,12 @@ meta_surface_actor_process_damage (MetaSurfaceActor *self,
+        * any drawing done to the window is always immediately reflected in the
+        * texture regardless of damage event handling.
+        */
+-      priv->needs_damage_all = TRUE;
++      cairo_rectangle_int_t rect = { .x = x, .y = y, .width = width, .height = height };
++
++      if (!priv->pending_damage)
++        priv->pending_damage = cairo_region_create_rectangle (&rect);
++      else
++        cairo_region_union_rectangle (priv->pending_damage, &rect);
+       return;
+     }
+ 
+@@ -332,16 +336,21 @@ meta_surface_actor_set_frozen (MetaSurfaceActor *self,
+ 
+   priv->frozen = frozen;
+ 
+-  if (!frozen && priv->needs_damage_all)
++  if (!frozen && priv->pending_damage)
+     {
++      int i, n_rects = cairo_region_num_rectangles (priv->pending_damage);
++      cairo_rectangle_int_t rect;
++
+       /* Since we ignore damage events while a window is frozen for certain effects
+-       * we may need to issue an update_area() covering the whole pixmap if we
+-       * don't know what real damage has happened. */
++       * we need to apply the tracked damage now. */
+ 
+-      meta_surface_actor_process_damage (self, 0, 0,
+-                                         clutter_actor_get_width (CLUTTER_ACTOR (priv->texture)),
+-                                         clutter_actor_get_height (CLUTTER_ACTOR (priv->texture)));
+-      priv->needs_damage_all = FALSE;
++      for (i = 0; i < n_rects; i++)
++        {
++          cairo_region_get_rectangle (priv->pending_damage, i, &rect);
++          meta_surface_actor_process_damage (self, rect.x, rect.y,
++                                             rect.width, rect.height);
++        }
++      g_clear_pointer (&priv->pending_damage, cairo_region_destroy);
+     }
+ }
+ 
+-- 
+2.8.1
+

Added: desktop/unstable/mutter/debian/patches/ui-frames-Drop-the-current-grab-info-on-button-relea.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/ui-frames-Drop-the-current-grab-info-on-button-relea.patch?rev=49163&op=file
==============================================================================
--- desktop/unstable/mutter/debian/patches/ui-frames-Drop-the-current-grab-info-on-button-relea.patch	(added)
+++ desktop/unstable/mutter/debian/patches/ui-frames-Drop-the-current-grab-info-on-button-relea.patch	[utf-8] Fri Jun 24 18:47:48 2016
@@ -0,0 +1,29 @@
+From d934cdee4f92dc163fa620024b4e3a6dbbc25f37 Mon Sep 17 00:00:00 2001
+From: Rui Matos <tiagomatos at gmail.com>
+Date: Thu, 23 Jun 2016 15:38:03 +0200
+Subject: [PATCH 6/7] ui/frames: Drop the current grab info on button release
+
+This was added in commit d05b750b8dec3825d286e3ae30c41b41bd6aed98 and
+later removed inadvertently in commit
+d561b3b18f73a66bcd7947dce7ab1aab9e09965a .
+
+https://bugzilla.gnome.org/show_bug.cgi?id=767969
+---
+ src/ui/frames.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/ui/frames.c b/src/ui/frames.c
+index 0e90567..0cb9e14 100644
+--- a/src/ui/frames.c
++++ b/src/ui/frames.c
+@@ -1114,6 +1114,7 @@ handle_button_release_event (MetaUIFrame *frame,
+ {
+   Display *display = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
+ 
++  frame->frames->current_grab_op = META_GRAB_OP_NONE;
+   meta_core_end_grab_op (display, event->time);
+ 
+   /* We only handle the releases we handled the presses for (things
+-- 
+2.8.1
+

Added: desktop/unstable/mutter/debian/patches/wayland-Mark-pending-moved-as-moved.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/mutter/debian/patches/wayland-Mark-pending-moved-as-moved.patch?rev=49163&op=file
==============================================================================
--- desktop/unstable/mutter/debian/patches/wayland-Mark-pending-moved-as-moved.patch	(added)
+++ desktop/unstable/mutter/debian/patches/wayland-Mark-pending-moved-as-moved.patch	[utf-8] Fri Jun 24 18:47:48 2016
@@ -0,0 +1,29 @@
+From b2bf30165f2f69709cf4817bbce55c29688cf2fd Mon Sep 17 00:00:00 2001
+From: Olivier Fourdan <ofourdan at redhat.com>
+Date: Mon, 13 Jun 2016 14:00:47 +0200
+Subject: [PATCH 1/7] wayland: Mark pending moved as moved
+
+The result flag needs to be marked as moved even for pending moves,
+otherwise the window's unconstrained_rect doesn't get updated in
+meta_window_move_resize_internal() and the anchor grab is wrong.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=764180
+---
+ src/wayland/meta-window-wayland.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/wayland/meta-window-wayland.c b/src/wayland/meta-window-wayland.c
+index b360f91..5181829 100644
+--- a/src/wayland/meta-window-wayland.c
++++ b/src/wayland/meta-window-wayland.c
+@@ -310,6 +310,7 @@ meta_window_wayland_move_resize_internal (MetaWindow                *window,
+ 
+       if (new_x != window->rect.x || new_y != window->rect.y)
+         {
++          *result |= META_MOVE_RESIZE_RESULT_MOVED;
+           wl_window->has_pending_move = TRUE;
+           wl_window->pending_move_x = new_x;
+           wl_window->pending_move_y = new_y;
+-- 
+2.8.1
+




More information about the pkg-gnome-commits mailing list