Hello community, here is the log from the commit of package xorg-x11-driver-input checked in at Mon Sep 29 19:37:16 CEST 2008. -------- --- xorg-x11-driver-input/xorg-x11-driver-input.changes 2008-09-11 14:20:11.000000000 +0200 +++ /mounts/work_src_done/STABLE/xorg-x11-driver-input/xorg-x11-driver-input.changes 2008-09-29 19:23:05.964104127 +0200 @@ -1,0 +2,8 @@ +Mon Sep 29 18:58:53 CEST 2008 - sndirsch@suse.de + +- xf86-input-vmmouse-grab.diff + * Grab mouse from kernel if possible. Avoids mouse event + duplication if a mouse driver is sitting on /dev/input/mice + on Linux. (bnc #428203) + +------------------------------------------------------------------- New: ---- xf86-input-vmmouse-grab.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11-driver-input.spec ++++++ --- /var/tmp/diff_new_pack.U14608/_old 2008-09-29 19:36:47.000000000 +0200 +++ /var/tmp/diff_new_pack.U14608/_new 2008-09-29 19:36:47.000000000 +0200 @@ -23,7 +23,7 @@ BuildRequires: Mesa-devel pkgconfig xorg-x11-proto-devel xorg-x11-server-sdk Url: http://xorg.freedesktop.org/ Version: 7.4 -Release: 1 +Release: 4 License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Servers/XF86_4 @@ -69,6 +69,7 @@ Patch12: zap_warning_kbd.diff Patch14: xf86-input-vmmouse.diff Patch15: xf86-input-evdev-sig11-bug416043.diff +Patch16: xf86-input-vmmouse-grab.diff %description This package contains X.Org input drivers. @@ -101,6 +102,7 @@ popd pushd xf86-input-vmmouse-* %patch14 -p0 +%patch16 -p1 popd %build @@ -143,6 +145,11 @@ %{_mandir}/man4/* %changelog +* Mon Sep 29 2008 sndirsch@suse.de +- xf86-input-vmmouse-grab.diff + * Grab mouse from kernel if possible. Avoids mouse event + duplication if a mouse driver is sitting on /dev/input/mice + on Linux. (bnc #428203) * Thu Sep 11 2008 sndirsch@suse.de - bumped release number to 7.4 * Mon Sep 08 2008 sndirsch@suse.de ++++++ xf86-input-vmmouse-grab.diff ++++++ commit 028e7d0001d4948e7b11a68d904c6b307a1ccfb3 Author: Matthias Hopf <mhopf@suse.de> Date: Mon Sep 29 18:30:55 2008 +0200 Grab mouse from kernel if possible. Avoids mouse event duplication if a mouse driver is sitting on /dev/input/mice on Linux. diff --git a/src/vmmouse.c b/src/vmmouse.c index bc0cb87..98f7047 100644 --- a/src/vmmouse.c +++ b/src/vmmouse.c @@ -851,6 +851,11 @@ VMMouseDeviceControl(DeviceIntPtr device, int mode) xf86Msg(X_INFO, "VMWARE(0): vmmouse enabled\n"); } } +#ifdef EVIOCGRAB + if (ioctl(pInfo->fd, EVIOCGRAB, (void *)1)) + xf86Msg(X_WARNING, "%s: Grab failed (%s)\n", pInfo->name, + strerror(errno)); +#endif xf86FlushInput(pInfo->fd); xf86AddEnabledDevice(pInfo); } @@ -870,6 +875,11 @@ VMMouseDeviceControl(DeviceIntPtr device, int mode) mPriv->vmmouseAvailable = FALSE; } +#ifdef EVIOCGRAB + if (ioctl(pInfo->fd, EVIOCGRAB, (void *)0)) + xf86Msg(X_WARNING, "%s: Ungrab failed (%s)\n", pInfo->name, + strerror(errno)); +#endif xf86RemoveEnabledDevice(pInfo); if (pMse->buffer) { XisbFree(pMse->buffer); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de