Bug#642012: x11-common: ssh-agent Xsession script does not check if gpg-agent will enable SSH support

2012-02-21 Thread Luca Capello
usertags 642012 + pca.it-authentication
thanks

Hi there!

Hellekin, the patch you have sent is referring to another bug, see:

  

BTW, please always check if you need to Cc: other people interested in
the bug (you did not Cc: me, so I was not aware of your replies).

On Mon, 26 Sep 2011 16:36:52 +0200, Luca Capello wrote:
> On Mon, 19 Sep 2011 14:57:14 +0200, Julien Cristau wrote:
>> On Sun, Sep 18, 2011 at 21:51:21 +0200, Luca Capello wrote:
>>> This leaves the bug opened: I would be glad to explore other solutions,
>>> but AFAIK without checking gpg.conf and gpg-agent.conf there is no way
>>> to know *beforehand* 1) if gpg-agent will run and 2) if the latter will
>>> provide SSH support.
>
> This is the real problem.
>
>>> Please note that until now ssh-agent is *never* started if gpg-agent has
>>> been started at least once with SSH support, for the following reasons
>>> (and this is another bug, no matter what):
>>> 
>>> 1) 90gpg-agent is sourced before 90x11-common_ssh-agent
>>> 2) gpg-agent does not remove its "PID" file when exiting, see #642021
>>
>> Sounds like that should be fixed.
>
> Patch sent upstream and block added.
>
>   
> 
>   

Upstream's opinion is that the "PID" file must not be removed:

  

>>> 3) 90gpg-agent sources the "PID" file above, which means that
>>>SSH_AUTH_SOCK is defined *before* any gpg-agent is started at all
>>
>> Shouldn't the "if ! $GPGAGENT 2>/dev/null; then" line in 90gpg-agent be
>> followed by unsetting the variables (and maybe removing the file) it
>> just read since it found out they don't work?
>
> Good catch, I will follow-up on the other bug report.  However,
> unsetting (at least) the SSH_AUTH_SOCK variable is not correct, because
> it could be defined in ~/.Xsessionrc.

According to its manpage, it is ssh-agent that sets this variable, so
any value in ~/.Xsessionrc (sourced by 40x11-common_xsessionrc, so
before any 90*agent) should be simply ignored:

  A UNIX-domain socket is created and the name of this socket is
  stored in the SSH_AUTH_SOCK environment variable.  The socket is
  made accessible only to the current user.  This method is easily
  abused by root or another instance of the same user.

However, given upstream's opinion on the "PID" file not to be removed, I
would simply unset the variables.  This at least to be sure that
variables from dead gpg-agent processes will not influence the current
login.

>>> 4) 90x11-common_ssh-agent starts ssh-agent only if SSH_AUTH_SOCK is
>>>empty, which is not the case as per point 3
> [...]
>>> IMHO the real bug is to try to start ssh-agent in a system-wide fashion
>>> via /etc/X11/Xsession.options, while this is (clearly) a user option.
>>> This is also why I fear the new Xsession "use-gpg-agent" option at
>>> .  The fact
>>> that ssh_config does not have any way to define that we want the agent
>>> is probably the original cause of this bug.
>>> 
>> Can we switch the order so that 1) doesn't apply?  And turn ssh-agent
>> into a no-op when it's started by gpg-agent with ssh support (assuming
>> it's not already)?
>
> I still fail to see your solution: when both Xsession scripts do their
> checks there is no agent running at all, so reverting the order should
> not change anything.  Again, how do you know that gpg-agent will be
> started with SSH support?

The key is SSH_AUTH_SOCK, which should be *anyway* set is gpg-agent
should be started with the SSH support, which is covered by:

  

Git patch attached.  Test packages fixing #444103, #642012 and #642021
are available at:

  


>>> Finally, may I ask why this file is not provided by openssh-client?  I
>>> could not find any reference in the x11-common changelog.Debian nor
>>> x11-common Recommends:/Suggests:/Enhances: openssh-client.
>>> 
>> The changelog suggests this was already in xfree86-common with the
>> initial xfree86 4.0 upload 11 years ago.  I could go look for earlier
>> changelogs, but I guess "hysterical raisins" pretty much covers it?
>
> I came to the same conclusion.  However, I still think openssh-client
> would be a better place, because until now ssh-agent is started
> unconditionally without asking the user (and FWIW not event the
> sysadmin).  The fact that there is no way to have ssh-agent "configured"
> through a user variable changes the whole situations, so I will not
> bother any more with this.
>
> Attached a Git patch to add the Enhances: above, including dbus-x11 for
> the very same reason.

The last sentence is independent of the gpg-agent

Bug#655693: Applies to autodetection as well

2012-02-21 Thread Julien Cristau
On Mon, Feb 20, 2012 at 15:44:15 -0800, Josh Triplett wrote:

> Documenting it in the description doesn't make it less of a bug. :)
> 
I'm not sure what you think the bug is?

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#655693: Applies to autodetection as well

2012-02-21 Thread Julien Cristau
On Tue, Feb 21, 2012 at 13:11:16 -0800, Josh Triplett wrote:

> On Tue, Feb 21, 2012 at 07:38:30PM +0100, Julien Cristau wrote:
> > On Mon, Feb 20, 2012 at 15:44:15 -0800, Josh Triplett wrote:
> > > Documenting it in the description doesn't make it less of a bug. :)
> > > 
> > I'm not sure what you think the bug is?
> 
> Autodetection should work with just the "radeon" module installed,
> without needing the wrapper "ati" module installed.
> 
Well, no.  Never has, AFAIK, and I don't really see the point...

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#655693: Applies to autodetection as well

2012-02-21 Thread Josh Triplett
On Tue, Feb 21, 2012 at 07:38:30PM +0100, Julien Cristau wrote:
> On Mon, Feb 20, 2012 at 15:44:15 -0800, Josh Triplett wrote:
> > Documenting it in the description doesn't make it less of a bug. :)
> > 
> I'm not sure what you think the bug is?

Autodetection should work with just the "radeon" module installed,
without needing the wrapper "ati" module installed.

- Josh Triplett



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2012022126.GB9239@leaf



Processing of weston_0.85.0-1_amd64.changes

2012-02-21 Thread Debian FTP Masters
weston_0.85.0-1_amd64.changes uploaded successfully to localhost
along with the files:
  weston_0.85.0-1.dsc
  weston_0.85.0.orig.tar.gz
  weston_0.85.0-1.diff.gz
  weston_0.85.0-1_amd64.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1rzytd-0006yw...@franck.debian.org



weston: Changes to 'upstream-experimental'

2012-02-21 Thread Cyril Brulebois
New branch 'upstream-experimental' available with the following commits:


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1rzzbe-0003ob...@vasks.debian.org



weston: Changes to 'pristine-tar'

2012-02-21 Thread Cyril Brulebois
New branch 'pristine-tar' available with the following commits:
commit 6324a60bb153c3608b11bc4aec39b08d6be1e46c
Author: Cyril Brulebois 
Date:   Tue Feb 21 23:38:56 2012 +0100

pristine-tar data for weston_0.85.0.orig.tar.gz


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1rzzbe-0003os...@vasks.debian.org



weston: Changes to 'debian-experimental'

2012-02-21 Thread Cyril Brulebois
New branch 'debian-experimental' available with the following commits:
commit 5877c75e8c4ee566386c013717b51b5b06ee70f1
Author: Cyril Brulebois 
Date:   Tue Feb 21 23:58:23 2012 +0100

Upload to experimental.

commit d70b88a1bf1e691d77fe44f1c194cf70034ae8c9
Author: Cyril Brulebois 
Date:   Tue Feb 21 23:58:16 2012 +0100

Bump run-time dependencies.

commit 28bd6581062a91080798ac27820ba6a724cd55e2
Author: Cyril Brulebois 
Date:   Tue Feb 21 23:26:22 2012 +0100

Restrict to linux-any since wayland isn't as portable as X.

commit 3a9f36e57375b99ef63db4a06aa57c7b6f73b96c
Author: Cyril Brulebois 
Date:   Tue Feb 21 23:25:46 2012 +0100

Tiny/toy clients will be shipped in a later upload.

commit 97bf688ffd6c7af8a6fc8185c0db8b065e8cdb72
Author: Cyril Brulebois 
Date:   Tue Feb 21 23:25:03 2012 +0100

Fix Build-Depends.

commit 82dc189677018d15b9b2cead39903d2b954585d1
Author: Cyril Brulebois 
Date:   Tue Feb 21 22:41:10 2012 +0100

Set Build-Depends.

commit 8c2db4c226ab632e64bbe1d81e1cdbfdefdcac2d
Author: Cyril Brulebois 
Date:   Tue Feb 21 21:08:24 2012 +0100

Automatically clean generated PNG files.

commit 0cb0268b6870a73f25a5094e19cc2ec9fbf3e3ca
Author: Cyril Brulebois 
Date:   Tue Feb 21 21:06:12 2012 +0100

Add gentarball target.

commit 08ec8c7f35361fb5d9126be43ce7fab9567ca097
Author: Cyril Brulebois 
Date:   Tue Feb 21 19:36:11 2012 +0100

Give up on the setuid bit for now.

commit 349a7bca635e0ec97cc56ff23635d9d28caad73a
Author: Cyril Brulebois 
Date:   Tue Feb 21 19:25:57 2012 +0100

Be explicit in install file.

commit 08702ca6e55b848ed915ab9a1f5172ed84c0827b
Author: Cyril Brulebois 
Date:   Tue Feb 21 19:20:46 2012 +0100

Add README.Debian about the setuid bit for KMS.

commit 6e64ce7142b6b57f7f707c508831fe995fc56506
Author: Cyril Brulebois 
Date:   Tue Feb 21 18:52:07 2012 +0100

Add basic packaging.

commit 5f5fb3181e78f3990f872e9cff91dcb0b30e0d46
Author: Cyril Brulebois 
Date:   Tue Feb 21 17:47:47 2012 +0100

Add copyright information.

commit cc3c79553a200c45df07a183e57903a0b1b02ab7
Author: Eric Anholt 
Date:   Thu Feb 9 08:36:03 2012 -0800

configure: Fix build on debian by avoiding bashisms in the test command.

commit 66b71a9f1bfd694096d7b6cc1856b335628aec93
Author: Kristian Høgsberg 
Date:   Thu Feb 9 11:01:06 2012 -0500

configure: Set release version 0.85.0

commit 1a2dd7cc4f658ad802b506576023b2fd6f92c842
Author: Kristian Høgsberg 
Date:   Thu Feb 9 11:18:16 2012 -0500

Use dist-xz for tarballs

commit 29589e9880279dbb1e9d28fa261ad6802d4f996d
Author: Kristian Høgsberg 
Date:   Thu Feb 9 09:20:44 2012 -0500

Disable setuid install for distcheck

commit d0e6c6715c7f4a9d48f8776c378c5b4065adde14
Author: Kristian Høgsberg 
Date:   Wed Feb 8 16:35:12 2012 -0500

configure: Change project to weston, set version to 0.85

commit 1f6e3164113e3e48122cbc238bd2d993a37840b6
Author: Kristian Høgsberg 
Date:   Wed Feb 8 14:47:53 2012 -0500

smoke: Use normal window resize mechanism

commit 7ff7838a55092bf4c7adc8b77ce8bf6abd52032e
Author: Kristian Høgsberg 
Date:   Wed Feb 8 14:45:02 2012 -0500

window: Don't set the window size in widget_set_size()

We propagate the toplevel widget size to the window size in the
window.c resize code.

commit fd143aa2f6f26513249d0628d0e953b9ef26fa8c
Author: Juan Zhao 
Date:   Thu Feb 2 16:02:06 2012 -0800

smoke: fix the segment fault error

Add widget_set_size in the initiate time to allow smoke get the
correct surface later. Or it will report segment fault error because
of the null surface.

Also add resize_handler to not allow resizing just like flower.

Signed-off-by: Juan Zhao 

commit 9e3aa72835353381078aec703efd562766189539
Author: Kristian Høgsberg 
Date:   Wed Feb 8 10:11:42 2012 -0500

cairo-util: Only look at first two bytes for jpegs

The next two bytes aren't fixed.

commit d724526db23d1b49d8dc5b1aacb74a54a5ca7a9a
Author: Peter Hutterer 
Date:   Fri Feb 3 20:58:19 2012 +1000

terminal: run $SHELL if set

Signed-off-by: Peter Hutterer 

commit 097b13ec159641090747866c51a841bc9c997e48
Author: Jesse Barnes 
Date:   Tue Feb 7 12:42:28 2012 -0800

configure.ac: fix cairo-glesv2 help text

Finally figured out why --enable-cairo-gles2 wasn't working like
configure --help said it should.

commit 8b0f045b04a28e1918dba140d714a2869eb68d92
Author: Pekka Paalanen 
Date:   Wed Feb 1 11:31:31 2012 +0200

configure: add libpng to client libs

http://lists.freedesktop.org/archives/wayland-devel/2012-January/001975.html
reports a linking problem:

/usr/bin/ld: libtoytoolkit.a(cairo-util.o): undefined reference to
symbol 'png_set_filler@@PNG12_0'
/usr/bin/ld: note: 'png_set_filler@@PNG12_0' is defined in DSO
/usr/lib/i386-linux-gnu/libpng12.so.0 so try adding it to the linker 
command line
/usr/lib/i386-linux-gnu/libpng12.so.0: could not read symbols: Invalid
operation
   

weston: Changes to 'refs/tags/weston-0.85.0-1'

2012-02-21 Thread Cyril Brulebois
Tag 'weston-0.85.0-1' created by Cyril Brulebois  at 
2012-02-21 23:08 +

Tagging upload of weston 0.85.0-1 to experimental.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk9EJAUACgkQeGfVPHR5Nd1RYACfaJceNdA+eb2+SYFHDJEOqh9b
SugAni5dHraXBJGbnsG9NXFNP8B7h+72
=C4N0
-END PGP SIGNATURE-

Changes since the dawn of time:
Ander Conselvan de Oliveira (10):
  compositor-drm: Make unused parts of the cursor image transparent
  compositor-drm: Fix compilation error caused by typo.
  compositor: move setup of scanout surface out of wlsc_output_repaint
  compositor: don't release the front buffer after page flip
  compositor: don't schedule idle_repaint from calls to repaint
  compositor: fix whitespace error in wlsc_output_set_cursor
  compositor: page flip away from a client buffer if it's destroyed
  composior: fix tiny cursor bug with drm compositor
  compositor-*: check for surfaceless_gles2 instead of surfaceless_opengl
  window: fix resizing of windows backed by shm buffers

Benjamin Franzke (93):
  scanner: include stddef.h to provide NULL and size_t
  wayland_client: rename wl_display_create to wl_display_connect
  Add wayland backend for compositor (nested)
  connection: Write before reading connection data
  Add a simple client
  compositor-wayland: Assign func pointers pre init
  compositor: Attach only valid background buffers
  clients/Makefile: Add AM_CPPFLAGS to view's CPPFLAGS
  display_iterate: Process only enabled event masks
  compositor/shm: use internalFormat=GL_BGRA_EXT in TexImage2D
  compositor-wayland: Remove unused variable
  configure: Drop gdk-pixbuf version dependency
  Fix out of source build [wayland.png]
  connection: Handle broken pipes in sendmsg
  compositor: Calculate resizing direction
  Add wayland-egl.h
  compositor-drm: Flush before pageflipping
  compositor-x11: Use x11 egl platform
  compositor: Use eglBindWaylandDisplayWL
  compositor: Add flags parameter to wlsc_output_init
  compositor: Generate Framebuffer in the backends
  compositor-wayland: Use wayland-egl window surfaces
  compositor-x11: Use an EGL Window Surface as output
  compositor: Remove wlsc_drm
  compositor: Remove drm.c, use shm.c for pointer images
  compositor-drm: Fix multi head rendering
  compositor-drm: Support output hotplugging
  compositor: Update only existing backgrounds in output_move
  Support per surface frame events
  simple-client: Request a alpha channel in choose config
  window: Use window surfaces for windows
  gears: Use wayland egl surface instead of images
  compositor(-drm): Pageflip to fullscreen surfaces
  Make use of a hardware cursor in compositor-drm
  Optimize fullscreen scanout abit
  compositor: Add OpenWF Display backend
  compositor-openwfd: Fixup rebase
  compositor-x11: Set xcb to be eventqueue owner
  Implement buffer.damage in shm, use it in window.c
  compositor: Add wlsc_shm_buffer_attach
  compositor: Use surface_attached_to list for shm-buffers
  Make use of wayland-server shm common code
  compositor: Use EGL_WL_bind_wayland_display only if available
  compositor: Use stride/4 as width for shm textures
  Cast fd's to intptr_t before casting to EGLNativeDisplay
  compositor: Recalculate fullscreen surface x,y in surface_attach
  compositor: Fix drm compositor cflags typo
  compositor-openwfd: Use wfd_device_id as drm fd
  compositor-drm: Retrieve extension functions before wlsc_compositor_init
  compositor-wayland: Fix interface renames (prefix)
  compositor-openwfd: Fixup backend split
  configure: Remove a xcb-dri2 leftover
  Make use of wl_resource.destroy_listener_list for surfaces.
  compositor-openwfd: Update to tty, cursor and cflags changes
  compositor: Fix warning in load_module
  clients: Add an optional roundtrip for visual lookup
  simple-client: Trigger first drawing by hand
  compositor: Do not leak old client buffers
  compositor: Send frame event after redraw
  Implement buffer.release event
  compositor: Decrement buffers busy_count in post_release
  window: Set egl_window_resize late and once
  compositor-openwfd: Update to mode changes
  Use gbm for compositor-{drm,openwfd}
  Send keyboard_focus only to client surfaces
  compositor-drm: Pass physical size to output_init
  compositor-openwfd: Expose all modes
  compositor-openwfd: Expose physical size
  openwfd: Combine native_resolution/rect/width,height into union
  compositor: Fix cursor damaging on multi head
  window.c: Fix compile/run using cairo without egl
  compositor-openwfd: Update to systemd seat input devices
  compositor-drm: Ignore disconnected connectors width
  compositor-openwfd: Fix wfd_destroy_output
  R

weston_0.85.0-1_amd64.changes is NEW

2012-02-21 Thread Debian FTP Masters
(new) weston_0.85.0-1.diff.gz optional x11
(new) weston_0.85.0-1.dsc optional x11
(new) weston_0.85.0-1_amd64.deb optional x11
reference implementation of a wayland compositor
 Part of the Wayland project is also the Weston reference implementation
 of a Wayland compositor. Weston can run as an X client or under Linux
 KMS and ships with a few demo clients. The Weston compositor is a minimal
 and fast compositor and is suitable for many embedded and mobile use
 cases.
(new) weston_0.85.0.orig.tar.gz optional x11
Changes: weston (0.85.0-1) experimental; urgency=low
 .
  * Initial release (Closes: #630809).
  * Build without setuid for weston; it's very young and experimental, so
let's be cautious.
  * Document weston's setuid bit (or lack thereof) in README.Debian.
  * Tiny/toy clients will be shipped in a later upload.
  * Restrict to linux-any since wayland isn't as portable as X.
  * Make sure the following packages are at least at 8.0-2 in the
generated dependencies: libegl1-mesa, libegl1-mesa-drivers, and
libgles2-mesa.


Override entries for your package:

Announcing to debian-experimental-chan...@lists.debian.org
Announcing to debian-devel-chan...@lists.debian.org
Closing bugs: 630809 


Your package contains new components which requires manual editing of
the override file.  It is ok otherwise, so please be patient.  New
packages are usually added to the override file about once a week.

You may have gotten the distribution wrong.  You'll get warnings above
if files already exist in other distributions.


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1rzyy8-0007vn...@franck.debian.org



xorg-server: Changes to 'ubuntu'

2012-02-21 Thread Christopher Halse Rogers
 debian/changelog   |9 +
 debian/patches/500_pointer_barrier_thresholds.diff |  158 +
 2 files changed, 108 insertions(+), 59 deletions(-)

New commits:
commit d50bf336e234786254514abe2d4815d2b86fa693
Author: Christopher James Halse Rogers 
Date:   Wed Feb 22 14:01:21 2012 +1100

Fix screen-edge barrier event behaviour on nvidia 295.20 drivers

diff --git a/debian/changelog b/debian/changelog
index 5eb231c..1fbc21e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+xorg-server (2:1.11.4-0ubuntu4) precise; urgency=low
+
+  * debian/patches/500_pointer_barrier_thresholds.diff:
+- Make the velocity calculation more robust on screen edges.  Fixes reveal
+  behaviour on nVidia 295.20 driver, which now clamps the pointer to the
+  visible screen area. (LP: #937792)
+
+ -- Christopher James Halse Rogers   Tue, 21 Feb 2012 
17:04:41 +1100
+
 xorg-server (2:1.11.4-0ubuntu3) precise; urgency=low
 
   * Fix touch class memory corruption
diff --git a/debian/patches/500_pointer_barrier_thresholds.diff 
b/debian/patches/500_pointer_barrier_thresholds.diff
index b1e0859..ad8a180 100644
--- a/debian/patches/500_pointer_barrier_thresholds.diff
+++ b/debian/patches/500_pointer_barrier_thresholds.diff
@@ -1,7 +1,7 @@
 Index: xorg-server/include/protocol-versions.h
 ===
 xorg-server.orig/include/protocol-versions.h   2012-01-27 
20:49:26.085712305 +1100
-+++ xorg-server/include/protocol-versions.h2012-01-27 20:53:59.721697695 
+1100
+--- xorg-server.orig/include/protocol-versions.h   2012-02-21 
18:14:17.631996352 +1100
 xorg-server/include/protocol-versions.h2012-02-22 11:39:06.722090873 
+1100
 @@ -122,7 +122,7 @@
  #define SERVER_XF86VIDMODE_MINOR_VERSION  2
  
@@ -11,34 +11,10 @@ Index: xorg-server/include/protocol-versions.h
  #define SERVER_XFIXES_MINOR_VERSION   0
  
  /* X Input */
-Index: xorg-server/mi/mipointer.c
-===
 xorg-server.orig/mi/mipointer.c2012-01-27 20:53:59.525697704 +1100
-+++ xorg-server/mi/mipointer.c 2012-01-27 20:53:59.721697695 +1100
-@@ -623,6 +623,9 @@
-   }
-   }
- }
-+if (pScreen->ConstrainCursorHarder)
-+   pScreen->ConstrainCursorHarder(pDev, pScreen, mode, &x, &y);
-+
- /* Constrain the sprite to the current limits. */
- if (x < pPointer->limits.x1)
-   x = pPointer->limits.x1;
-@@ -633,9 +636,6 @@
- if (y >= pPointer->limits.y2)
-   y = pPointer->limits.y2 - 1;
- 
--if (pScreen->ConstrainCursorHarder)
--   pScreen->ConstrainCursorHarder(pDev, pScreen, mode, &x, &y);
--
- if (pPointer->x != x || pPointer->y != y ||
- pPointer->pScreen != pScreen)
- miPointerMoveNoEvent(pDev, pScreen, x, y);
 Index: xorg-server/xfixes/cursor.c
 ===
 xorg-server.orig/xfixes/cursor.c   2012-01-27 20:49:26.109712303 +1100
-+++ xorg-server/xfixes/cursor.c2012-01-27 20:54:59.037694528 +1100
+--- xorg-server.orig/xfixes/cursor.c   2012-02-21 18:14:17.647996351 +1100
 xorg-server/xfixes/cursor.c2012-02-22 11:39:06.722090873 +1100
 @@ -61,6 +61,7 @@
  static RESTYPECursorHideCountType;
  static RESTYPECursorWindowType;
@@ -47,7 +23,19 @@ Index: xorg-server/xfixes/cursor.c
  static CursorPtr  CursorCurrent[MAXDEVICES];
  
  static DevPrivateKeyRec CursorScreenPrivateKeyRec;
-@@ -129,6 +130,7 @@
+@@ -119,6 +120,11 @@
+ struct list entry;
+ };
+ 
++/**
++ * Pick up unclamped (x,y) coordinates from dix/getevents
++ */
++extern int unclamped_prex, unclamped_prey;
++
+ /*
+  * Wrap DisplayCursor to catch cursor change events
+  */
+@@ -129,6 +135,7 @@
  ConstrainCursorHarderProcPtr ConstrainCursorHarder;
  CursorHideCountPtr  pCursorHideCounts;
  struct list barriers;
@@ -55,7 +43,7 @@ Index: xorg-server/xfixes/cursor.c
  } CursorScreenRec, *CursorScreenPtr;
  
  #define GetCursorScreen(s) 
((CursorScreenPtr)dixLookupPrivate(&(s)->devPrivates, CursorScreenPrivateKey))
-@@ -1232,14 +1234,77 @@
+@@ -1232,18 +1239,90 @@
  }
  
  static void
@@ -133,13 +121,29 @@ Index: xorg-server/xfixes/cursor.c
  
/* where are we coming from */
miPointerGetPosition(dev, &ox, &oy);
-@@ -1252,11 +1317,27 @@
+ 
++  /* Use the unclamped values, if available.  If not, *x, *y
++   * will have to do.
++   * NOTE: We should never get here with unclamped values unset.
++   */
++  if (unclamped_prex == -1 || unclamped_prey == -1) {
++  unclamped_prex = *x;
++  unclamped_prey = *y;
++  }
++
+   /* How this works:
+* Given the origin and the movement vector, get the nearest barrier
+* to the origin that is blocking the movement.
+@@ -1251,12 +1330,28 @@
+* Then, check from t

Bug#656365: xserver-xorg-input-synaptics: PressureMotion and/or Coasting messed up

2012-02-21 Thread Erich Schubert
Hi,
> forwarded 656365 https://bugs.freedesktop.org/show_bug.cgi?id=46330

A fix has been committed upstream for synclient.

Also a fix was committed for https://bugs.freedesktop.org/show_bug.cgi?id=45278
which also seems to be related ("pointer keeps moving" is my actual issue)

Regards,
Erich



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cagkbab8rkavmvcuf8tlndwyesrssej2sry+cdeas1aarmsg...@mail.gmail.com