Hello community,

here is the log from the commit of package clutter for openSUSE:Factory checked 
in at 2015-05-20 23:41:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clutter (Old)
 and      /work/SRC/openSUSE:Factory/.clutter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clutter"

Changes:
--------
--- /work/SRC/openSUSE:Factory/clutter/clutter.changes  2015-05-18 
21:48:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.clutter.new/clutter.changes     2015-05-20 
23:41:33.000000000 +0200
@@ -1,0 +2,6 @@
+Tue May 19 08:34:43 UTC 2015 - [email protected]
+
+- Add clutter-fix-touchpad-detection.patch: Fix X11 touchpad
+  detection, previous commit had a typo (bgo#749482). 
+
+-------------------------------------------------------------------

New:
----
  clutter-fix-touchpad-detection.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clutter.spec ++++++
--- /var/tmp/diff_new_pack.SfOGLQ/_old  2015-05-20 23:41:34.000000000 +0200
+++ /var/tmp/diff_new_pack.SfOGLQ/_new  2015-05-20 23:41:34.000000000 +0200
@@ -31,6 +31,8 @@
 Url:            http://clutter-project.org/
 Source0:        
http://download.gnome.org/sources/clutter/1.22/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM clutter-fix-touchpad-detection.patch bgo#749482 
[email protected] -- x11: Fix touchpad detection, previous commit had a typo.
+Patch0:         clutter-fix-touchpad-detection.patch
 BuildRequires:  fdupes
 BuildRequires:  xmlto
 BuildRequires:  pkgconfig(atk) >= 2.5.3
@@ -107,6 +109,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \

++++++ clutter-fix-touchpad-detection.patch ++++++
>From 9268bb914462fc6a6a760daae61a645f405cb8b1 Mon Sep 17 00:00:00 2001
From: Rui Matos <[email protected]>
Date: Sun, 17 May 2015 00:50:56 +0200
Subject: x11: Fix touchpad detection

Commit 79849ef1d5fff9acd310cd68d59df0c7cf2cb28f had a typo in the
device property format check. This property is formated in 8-bit
items, not 32-bit.

This went unnoticed till now because some touchpads were still being
detected as such due to a second check below:

      else if (strstr (name, "touchpad") != NULL)
        source = CLUTTER_TOUCHPAD_DEVICE;

https://bugzilla.gnome.org/show_bug.cgi?id=749482

diff --git a/clutter/x11/clutter-device-manager-xi2.c 
b/clutter/x11/clutter-device-manager-xi2.c
index 17c491e..1b101c4 100644
--- a/clutter/x11/clutter-device-manager-xi2.c
+++ b/clutter/x11/clutter-device-manager-xi2.c
@@ -242,7 +242,7 @@ is_touchpad_device (ClutterBackendX11 *backend_x11,
   /* We don't care about the data */
   XFree (data);
 
-  if (rc != Success || type != XA_INTEGER || format != 32 || nitems != 1)
+  if (rc != Success || type != XA_INTEGER || format != 8 || nitems != 1)
     return FALSE;
 
   return TRUE;
-- 
cgit v0.10.2


Reply via email to