[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xserver-xorg-input-mouse: Changes to 'debian-unstable'



 debian/changelog                                                             |    8 +
 debian/control                                                               |    2 
 debian/patches/0001-Don-t-flush-buttons-release-events-can-cause-paste.patch |   44 ++++++++++
 debian/patches/series                                                        |    2 
 4 files changed, 54 insertions(+), 2 deletions(-)

New commits:
commit 15b73bdd4c05b1ef2a4ee611431db24356a668a5
Author: Julien Cristau <jcristau@debian.org>
Date:   Thu Dec 6 18:47:45 2007 +0100

    Prepare changelog for upload.

diff --git a/debian/changelog b/debian/changelog
index 5edec46..ae94947 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-xserver-xorg-input-mouse (1:1.2.3-2) UNRELEASED; urgency=low
+xserver-xorg-input-mouse (1:1.2.3-2) unstable; urgency=low
 
   * New patch from Peter Hutterer (from upstream bug#13144): don't flush
     buttons, release events can cause paste events.
   * Bump Standards-Version to 3.7.3.
 
- -- Julien Cristau <jcristau@debian.org>  Thu, 06 Dec 2007 18:44:01 +0100
+ -- Julien Cristau <jcristau@debian.org>  Thu, 06 Dec 2007 18:44:31 +0100
 
 xserver-xorg-input-mouse (1:1.2.3-1) unstable; urgency=low
 

commit 0e4e616e30fd384ba3ab93c701259ab0962651aa
Author: Julien Cristau <jcristau@debian.org>
Date:   Thu Dec 6 18:44:26 2007 +0100

    * Bump Standards-Version to 3.7.3.

diff --git a/debian/changelog b/debian/changelog
index 7bb436a..5edec46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ xserver-xorg-input-mouse (1:1.2.3-2) UNRELEASED; urgency=low
 
   * New patch from Peter Hutterer (from upstream bug#13144): don't flush
     buttons, release events can cause paste events.
+  * Bump Standards-Version to 3.7.3.
 
- -- Julien Cristau <jcristau@debian.org>  Thu, 06 Dec 2007 18:33:31 +0100
+ -- Julien Cristau <jcristau@debian.org>  Thu, 06 Dec 2007 18:44:01 +0100
 
 xserver-xorg-input-mouse (1:1.2.3-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 702c623..6036ca5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
 Uploaders: David Nusinow <dnusinow@debian.org>, Drew Parsons <dparsons@debian.org>, Julien Cristau <jcristau@debian.org>
 Build-Depends: debhelper (>= 5), pkg-config, xserver-xorg-dev (>= 2:1.4), x11proto-input-dev, x11proto-core-dev, x11proto-randr-dev, quilt
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 XS-Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-mouse
 XS-Vcs-Browser: http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-input-mouse.git
 

commit fc8bd584931ff3d2dc1058d2a883258bc6ff9cb6
Author: Julien Cristau <jcristau@debian.org>
Date:   Thu Dec 6 18:35:49 2007 +0100

    Don't flush buttons.
    
    Add patch by Peter Hutterer: flushing buttons causes paste events on vt
    switch, so don't do it.
    https://bugs.freedesktop.org/show_bug.cgi?id=13144
    https://bugs.freedesktop.org/attachment.cgi?id=12580

diff --git a/debian/changelog b/debian/changelog
index a2b572d..7bb436a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xserver-xorg-input-mouse (1:1.2.3-2) UNRELEASED; urgency=low
+
+  * New patch from Peter Hutterer (from upstream bug#13144): don't flush
+    buttons, release events can cause paste events.
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 06 Dec 2007 18:33:31 +0100
+
 xserver-xorg-input-mouse (1:1.2.3-1) unstable; urgency=low
 
   * New upstream version.
diff --git a/debian/patches/0001-Don-t-flush-buttons-release-events-can-cause-paste.patch b/debian/patches/0001-Don-t-flush-buttons-release-events-can-cause-paste.patch
new file mode 100644
index 0000000..c935639
--- /dev/null
+++ b/debian/patches/0001-Don-t-flush-buttons-release-events-can-cause-paste.patch
@@ -0,0 +1,44 @@
+From 51fe5125c92969cf7de8bd7d06605c50d10c8ba7 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter@cs.unisa.edu.au>
+Date: Fri, 16 Nov 2007 16:45:45 +1030
+Subject: [PATCH] Don't flush buttons, release events can cause paste events.
+
+---
+ src/mouse.c |   11 +----------
+ 1 files changed, 1 insertions(+), 10 deletions(-)
+
+diff --git a/src/mouse.c b/src/mouse.c
+index 293af74..953f542 100644
+--- a/src/mouse.c
++++ b/src/mouse.c
+@@ -1854,26 +1854,17 @@ MouseConvert(InputInfoPtr pInfo, int first, int num, int v0, int v1, int v2,
+ 
+ /**********************************************************************
+  *
+- * FlushButtons -- send button up events for sanity.
++ * FlushButtons -- reset button states.
+  *
+  **********************************************************************/
+ 
+ static void
+ FlushButtons(MouseDevPtr pMse)
+ {
+-
+-    /* If no button down is pending xf86PostButtonEvent()
+-     * will discard them. So we are on the safe side. */
+-
+     int i, blocked;
+ 
+     pMse->lastButtons = 0;
+     pMse->lastMappedButtons = 0;
+-
+-    blocked = xf86BlockSIGIO ();
+-    for (i = 1; i <= 5; i++)
+-	xf86PostButtonEvent(pMse->device,0,i,0,0,0);
+-    xf86UnblockSIGIO (blocked);
+ }
+ 
+ /**********************************************************************
+-- 
+1.5.3.7
+
diff --git a/debian/patches/series b/debian/patches/series
index 8b13789..b71353e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-
+0001-Don-t-flush-buttons-release-events-can-cause-paste.patch



Reply to: