[gtk+] wayland: Stop key repeat on focus out
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Stop key repeat on focus out
- Date: Mon, 31 Aug 2015 15:07:47 +0000 (UTC)
commit 690a11b5b8a4d97b844cdbd82891e6c18a20f802
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 31 11:04:10 2015 -0400
wayland: Stop key repeat on focus out
This should address the occasional 'key repeat gone wild' issue
that some people have been seeing in gnome-terminal under Wayland.
http://bugzilla.gnome.org/show_bug.cgi?id=747684
gdk/wayland/gdkdevice-wayland.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 5201d7d..4e8f98f 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -1184,6 +1184,8 @@ keyboard_handle_leave (void *data,
if (!device->keyboard_focus)
return;
+ stop_key_repeat (device);
+
_gdk_wayland_display_update_serial (display, serial);
event = gdk_event_new (GDK_FOCUS_CHANGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]