r52134 - in /desktop/unstable/gtk+3.0/debian: changelog patches/series patches/wayland-make-sure-to-clear-up-the-number-of-keys.patch

smcv at users.alioth.debian.org smcv at users.alioth.debian.org
Wed Mar 1 18:18:55 UTC 2017


Author: smcv
Date: Wed Mar  1 18:18:55 2017
New Revision: 52134

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=52134
Log:
Add patch from upstream fixing unintended key repeats on Wayland (Closes: #856478)

Added:
    desktop/unstable/gtk+3.0/debian/patches/wayland-make-sure-to-clear-up-the-number-of-keys.patch
Modified:
    desktop/unstable/gtk+3.0/debian/changelog
    desktop/unstable/gtk+3.0/debian/patches/series

Modified: desktop/unstable/gtk+3.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/changelog?rev=52134&op=diff
==============================================================================
--- desktop/unstable/gtk+3.0/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gtk+3.0/debian/changelog	[utf-8] Wed Mar  1 18:18:55 2017
@@ -1,3 +1,12 @@
+gtk+3.0 (3.22.9-2) unstable; urgency=medium
+
+  * Team upload
+  * d/p/wayland-make-sure-to-clear-up-the-number-of-keys.patch:
+    Add patch from upstream fixing unintended key repeats on Wayland
+    (Closes: #856478)
+
+ -- Simon McVittie <smcv at debian.org>  Wed, 01 Mar 2017 15:50:14 +0000
+
 gtk+3.0 (3.22.9-1) unstable; urgency=medium
 
   * New upstream release.

Modified: desktop/unstable/gtk+3.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/patches/series?rev=52134&op=diff
==============================================================================
--- desktop/unstable/gtk+3.0/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/gtk+3.0/debian/patches/series	[utf-8] Wed Mar  1 18:18:55 2017
@@ -6,3 +6,4 @@
 no-accessibility-dump.patch
 reftest-known-fail.patch
 gdk-x11-Check-if-we-have-access-to-GL-before-using-G.patch
+wayland-make-sure-to-clear-up-the-number-of-keys.patch

Added: desktop/unstable/gtk+3.0/debian/patches/wayland-make-sure-to-clear-up-the-number-of-keys.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/patches/wayland-make-sure-to-clear-up-the-number-of-keys.patch?rev=52134&op=file
==============================================================================
--- desktop/unstable/gtk+3.0/debian/patches/wayland-make-sure-to-clear-up-the-number-of-keys.patch	(added)
+++ desktop/unstable/gtk+3.0/debian/patches/wayland-make-sure-to-clear-up-the-number-of-keys.patch	[utf-8] Wed Mar  1 18:18:55 2017
@@ -0,0 +1,37 @@
+From aebe3a74ec9c2da5fe6eb0826274d4b971068b8f Mon Sep 17 00:00:00 2001
+From: Olivier Fourdan <ofourdan at redhat.com>
+Date: Tue, 28 Feb 2017 18:17:39 +0100
+Subject: [PATCH] wayland: make sure to clear up the number of keys
+
+Make sure to clear up the number of keys being pressed on enter/leave so
+that we don't end up with leftovers if a new window is mapped by a
+keyboard shortcut.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=779374
+---
+ gdk/wayland/gdkdevice-wayland.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
+index 815fa9a3db..947ef44530 100644
+--- a/gdk/wayland/gdkdevice-wayland.c
++++ b/gdk/wayland/gdkdevice-wayland.c
+@@ -1869,6 +1869,7 @@ keyboard_handle_enter (void               *data,
+ 
+   seat->keyboard_focus = wl_surface_get_user_data (surface);
+   g_object_ref (seat->keyboard_focus);
++  seat->nkeys = 0;
+ 
+   event = gdk_event_new (GDK_FOCUS_CHANGE);
+   event->focus_change.window = g_object_ref (seat->keyboard_focus);
+@@ -1925,6 +1926,7 @@ keyboard_handle_leave (void               *data,
+ 
+   g_object_unref (seat->keyboard_focus);
+   seat->keyboard_focus = NULL;
++  seat->nkeys = 0;
+ 
+   GDK_NOTE (EVENTS,
+             g_message ("focus out, seat %p surface %p",
+-- 
+2.11.0
+




More information about the pkg-gnome-commits mailing list