Hello community, here is the log from the commit of package xorg-x11-driver-input checked in at Sun Nov 23 09:37:46 CET 2008. -------- --- xorg-x11-driver-input/xorg-x11-driver-input.changes 2008-11-18 04:06:19.000000000 +0100 +++ /mounts/work_src_done/STABLE/xorg-x11-driver-input/xorg-x11-driver-input.changes 2008-11-21 22:47:41.004294561 +0100 @@ -1,0 +2,7 @@ +Fri Nov 21 22:46:57 CET 2008 - sndirsch@suse.de + +- xf86-input-evdev-btn-touch.diff + * remap touchscreen BTN_TOUCH events to button 0 (left mouse + button) (bnc #447687) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- xf86-input-evdev-btn-touch.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11-driver-input.spec ++++++ --- /var/tmp/diff_new_pack.sV6717/_old 2008-11-23 09:36:09.000000000 +0100 +++ /var/tmp/diff_new_pack.sV6717/_new 2008-11-23 09:36:09.000000000 +0100 @@ -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: 10 +Release: 11 License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Servers/XF86_4 @@ -72,6 +72,7 @@ Patch17: xf86-input-elo2300-1.1.2-commit-cc77936.diff Patch18: xf86-input-elographics-1.2.2-commit-bf0e1bf.diff Patch19: xf86-input-microtouch-1.2.0-commit-81435d3.diff +Patch20: xf86-input-evdev-btn-touch.diff %description This package contains X.Org input drivers. @@ -99,6 +100,7 @@ %patch11 -p1 %patch15 -p0 %patch16 -p1 +%patch20 -p1 popd pushd xf86-input-aiptek-*/src tar xzf %{S:100} @@ -159,6 +161,10 @@ %endif %changelog +* Fri Nov 21 2008 sndirsch@suse.de +- xf86-input-evdev-btn-touch.diff + * remap touchscreen BTN_TOUCH events to button 0 (left mouse + button) (bnc #447687) * Tue Nov 18 2008 sndirsch@suse.de - xf86-input-vmmouse 12.6.2 (bnc #445787) * fixes bnc #439664 ++++++ xf86-input-evdev-btn-touch.diff ++++++ --- xf86-input-evdev-1.1.5-ORIGINAL/src/evdev_btn.c 2008-11-22 02:51:13.000000000 -0500 +++ xf86-input-evdev-1.1.5/src/evdev_btn.c 2008-11-22 03:46:37.000000000 -0500 @@ -256,7 +256,9 @@ EvdevBtnNew0(InputInfoPtr pInfo) bit -= BTN_MOUSE - BTN_MISC; } else if ((bit >= BTN_MISC) && (bit < BTN_MOUSE)) { bit += BTN_MOUSE - BTN_MISC; - } + } else if (bit == BTN_TOUCH) { + bit = BTN_0; + } bit -= BTN_MISC; state->btn->real_buttons = bit + 1; } @@ -312,6 +314,8 @@ EvdevBtnProcess (InputInfoPtr pInfo, str button -= BTN_MOUSE - BTN_MISC; } else if ((ev->code >= BTN_MISC) && (ev->code < BTN_MOUSE)) { button += BTN_MOUSE - BTN_MISC; + } else if (ev->code == BTN_TOUCH) { + button = BTN_0; } button -= BTN_MISC; @@ -348,6 +352,8 @@ EvdevBtnExists (InputInfoPtr pInfo, int button -= BTN_MOUSE - BTN_MISC; } else if ((button >= BTN_MISC) && (button < BTN_MOUSE)) { button += BTN_MOUSE - BTN_MISC; + } else if (button == BTN_TOUCH) { + button = BTN_0; } xf86Msg(X_INFO, "%s: Checking bit %d\n", pInfo->name, button); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org