[eekboard] Update to 1.0.8-2.
Daiki Ueno
ueno at fedoraproject.org
Fri Oct 5 07:09:47 UTC 2012
commit 4877177be5564c89dd115d3f22c62328f22404dd
Author: Daiki Ueno <ueno at unixuser.org>
Date: Fri Oct 5 16:09:16 2012 +0900
Update to 1.0.8-2.
eekboard-stop-key-repeat.patch | 30 ++++++++++++++++++++++++++++++
eekboard.spec | 7 ++++++-
2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/eekboard-stop-key-repeat.patch b/eekboard-stop-key-repeat.patch
new file mode 100644
index 0000000..0df2096
--- /dev/null
+++ b/eekboard-stop-key-repeat.patch
@@ -0,0 +1,30 @@
+From e212262f29e022bdf7047861263ceea0c373e916 Mon Sep 17 00:00:00 2001
+From: Daiki Ueno <ueno at unixuser.org>
+Date: Mon, 1 Oct 2012 11:46:44 +0900
+Subject: [PATCH] Stop key-repeat when the server receives a new D-Bus event.
+
+Key-repeat timer should be cleared when the server receives a new D-Bus.
+Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=857977
+---
+ eekboard/eekboard-context-service.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/eekboard/eekboard-context-service.c b/eekboard/eekboard-context-service.c
+index 4eeab66..2e2c46d 100644
+--- a/eekboard/eekboard-context-service.c
++++ b/eekboard/eekboard-context-service.c
+@@ -750,6 +750,11 @@ handle_method_call (GDBusConnection *connection,
+ EekboardContextService *context = user_data;
+ EekboardContextServiceClass *klass = EEKBOARD_CONTEXT_SERVICE_GET_CLASS(context);
+
++ if (context->priv->repeat_timeout_id) {
++ g_source_remove (context->priv->repeat_timeout_id);
++ context->priv->repeat_timeout_id = 0;
++ }
++
+ if (g_strcmp0 (method_name, "AddKeyboard") == 0) {
+ const gchar *keyboard_type;
+ static guint keyboard_id = 0;
+--
+1.7.11.7
+
diff --git a/eekboard.spec b/eekboard.spec
index 6925256..8f58ba4 100644
--- a/eekboard.spec
+++ b/eekboard.spec
@@ -1,12 +1,13 @@
Name: eekboard
Version: 1.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Yet Another Virtual Keyboard
Group: Applications/System
License: GPLv3+
URL: http://fedorahosted.org/eekboard/
Source0: http://github.com/downloads/ueno/eekboard/eekboard-%{version}.tar.gz
+Patch0: eekboard-stop-key-repeat.patch
BuildRequires: libXtst-devel
BuildRequires: gtk3-devel
BuildRequires: libxklavier-devel
@@ -55,6 +56,7 @@ This package contains the development tools for eekboard.
%prep
%setup -q
+%patch0 -p1 -b .stop-key-repeat
%build
@@ -132,6 +134,9 @@ fi
%changelog
+* Fri Oct 5 2012 Daiki Ueno <dueno at redhat.com> - 1.0.8-2
+- add eekboard-stop-key-repeat.patch (#857977)
+
* Wed Aug 15 2012 Daiki Ueno <dueno at redhat.com> - 1.0.8-1
- split eekboard-server into eekboard-service package (fixes #847500)
More information about the scm-commits
mailing list