Hello community,

here is the log from the commit of package xev for openSUSE:Factory checked in 
at 2014-02-19 07:26:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xev (Old)
 and      /work/SRC/openSUSE:Factory/.xev.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xev"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xev/xev.changes  2014-02-07 11:56:32.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.xev.new/xev.changes     2014-02-19 
07:26:08.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb 11 17:28:04 UTC 2014 - [email protected]
+
+- u_Add-event-filter-for-motion-and-button-events.patch
+  Add more event filters
+
+-------------------------------------------------------------------

New:
----
  u_Add-event-filter-for-motion-and-button-events.patch

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

Other differences:
------------------
++++++ xev.spec ++++++
--- /var/tmp/diff_new_pack.vV6Gqy/_old  2014-02-19 07:26:08.000000000 +0100
+++ /var/tmp/diff_new_pack.vV6Gqy/_new  2014-02-19 07:26:08.000000000 +0100
@@ -24,6 +24,7 @@
 Group:          System/X11/Utilities
 Url:            http://xorg.freedesktop.org/
 Source0:        
http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+Patch0:         u_Add-event-filter-for-motion-and-button-events.patch
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xorg-macros) >= 1.8
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ u_Add-event-filter-for-motion-and-button-events.patch ++++++
From: Egbert Eich <[email protected]>
Date: Tue Feb 11 18:25:35 2014 +0100
Subject: [PATCH]Add event filter for motion and button events
Patch-Mainline: to be upstreamed
Git-commit: 68e9fe8c0b2c729b483d673855355b0d0c13b471
Git-repo: 
References: 
Signed-off-by: Egbert Eich <[email protected]>

Signed-off-by: Egbert Eich <[email protected]>
---
 man/xev.man |  2 +-
 xev.c       | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/man/xev.man b/man/xev.man
index ca38d56..81c2551 100644
--- a/man/xev.man
+++ b/man/xev.man
@@ -60,7 +60,7 @@ The
 option can be specified multiple times to select multiple types of events.
 When not specified, all events are selected.
 Available event masks: keyboard mouse expose visibility structure substructure
-focus property colormap owner_grab_button randr
+focus property colormap owner_grab_button randr motion button
 .SH "SEE ALSO"
 X(__miscmansuffix__), xwininfo(__appmansuffix__), xdpyinfo(__appmansuffix__), 
Xlib Programmers Manual, X Protocol
 Specification
diff --git a/xev.c b/xev.c
index 066da3a..5568a6e 100644
--- a/xev.c
+++ b/xev.c
@@ -890,7 +890,7 @@ usage (void)
 "    -event event_mask                   select 'event_mask' events",
 "           Supported event masks: keyboard mouse expose visibility structure",
 "                                  substructure focus property colormap",
-"                                  owner_grab_button randr",
+"                                  owner_grab_button randr button motion",
 "           This option can be specified multiple times to select multiple",
 "           event masks.",
 "",
@@ -935,6 +935,14 @@ parse_event_mask (const char *s, long event_masks[])
           LeaveWindowMask | PointerMotionMask | Button1MotionMask |
           Button2MotionMask | Button3MotionMask | Button4MotionMask |
           Button5MotionMask | ButtonMotionMask },
+        { "motion",
+          EVENT_MASK_INDEX_CORE,
+          PointerMotionMask | Button1MotionMask |
+          Button2MotionMask | Button3MotionMask | Button4MotionMask |
+          Button5MotionMask | ButtonMotionMask },
+       { "button",
+          EVENT_MASK_INDEX_CORE,
+          ButtonPressMask | ButtonReleaseMask },
         { "expose",
           EVENT_MASK_INDEX_CORE,
           ExposureMask },
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to