Hello community,

here is the log from the commit of package gtk2 for openSUSE:Factory checked in 
at 2016-02-23 16:53:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk2 (Old)
 and      /work/SRC/openSUSE:Factory/.gtk2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtk2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk2/gtk2.changes        2016-01-01 
19:47:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gtk2.new/gtk2.changes   2016-02-23 
16:53:43.000000000 +0100
@@ -1,0 +2,7 @@
+Fri Jan 15 09:35:50 UTC 2016 - zai...@opensuse.org
+
+- Add gtk2-Deliver-GdkModifierType-during-drag-motion.patch:
+  Deliver GdkModifierType during 'drag-motion' (bgo#722815). Patch
+  from upstream git.
+
+-------------------------------------------------------------------

New:
----
  gtk2-Deliver-GdkModifierType-during-drag-motion.patch

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

Other differences:
------------------
++++++ gtk2.spec ++++++
--- /var/tmp/diff_new_pack.AWTtf2/_old  2016-02-23 16:53:44.000000000 +0100
+++ /var/tmp/diff_new_pack.AWTtf2/_new  2016-02-23 16:53:44.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gtk2
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -61,6 +61,8 @@
 Patch58:        gtk2-bgo737777-fix-printing-authentication-crash.patch
 # PATCH-FIX-UPSTREAM gtk2-randr-1.5-monitor-support.patch bgo#759912 
zai...@opensuse.org -- Adds support for using the newly introduced monitor 
objects in the XRandR protocol.
 Patch59:        gtk2-randr-1.5-monitor-support.patch
+# PATCH-FIX-UPSTREAM gtk2-Deliver-GdkModifierType-during-drag-motion.patch 
bgo#722815 zai...@opensuse.org -- Deliver GdkModifierType during 'drag-motion'
+Patch60:        gtk2-Deliver-GdkModifierType-during-drag-motion.patch
 BuildRequires:  atk-devel
 BuildRequires:  cairo-devel
 BuildRequires:  cups-devel
@@ -342,6 +344,7 @@
 %patch57 -p1
 %patch58 -p1
 %patch59 -p1
+%patch60 -p1
 gnome-patch-translation-update
 
 %build

++++++ gtk2-Deliver-GdkModifierType-during-drag-motion.patch ++++++
>From 679d2a45afb5496b4b4e1b3901a972a9e5c57663 Mon Sep 17 00:00:00 2001
From: Hans Breuer <h...@breuer.org>
Date: Fri, 7 Nov 2014 16:44:17 +0100
Subject: Bug 722815 - Deliver GdkModifierType during 'drag-motion'

This bug was also found by clang:

gdkwindow-quartz.c:1956:11: warning: implicit conversion from enumeration type 
'GdkEventMask' to
      different enumeration type 'GdkModifierType' [-Wenum-conversion]
  *mask = _gdk_quartz_events_get_current_event_mask ();
        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
---
 gdk/quartz/gdkwindow-quartz.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 7b43257..7cd7789 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -1953,7 +1953,8 @@ gdk_window_quartz_get_pointer_helper (GdkWindow       
*window,
   
   toplevel = GDK_WINDOW_OBJECT (gdk_window_get_effective_toplevel (window));
 
-  *mask = _gdk_quartz_events_get_current_event_mask ();
+  *mask = _gdk_quartz_events_get_current_keyboard_modifiers ()
+       | _gdk_quartz_events_get_current_mouse_modifiers ();
 
   /* Get the y coordinate, needs to be flipped. */
   if (window == _gdk_root)
-- 
cgit v0.11.2


Reply via email to