commit xf86-input-synaptics for openSUSE:Factory
Hello community, here is the log from the commit of package xf86-input-synaptics for openSUSE:Factory checked in at 2012-07-01 20:54:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xf86-input-synaptics (Old) and /work/SRC/openSUSE:Factory/.xf86-input-synaptics.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "xf86-input-synaptics", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/xf86-input-synaptics/xf86-input-synaptics.changes 2012-06-18 17:35:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-input-synaptics.new/xf86-input-synaptics.changes 2012-07-02 10:35:46.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jun 29 17:05:54 CEST 2012 - tiwai@suse.de + +- Fix double-tap LED behavior (bnc#768506) +- Enable tap-to-click as default (bnc#722457) + +------------------------------------------------------------------- New: ---- xf86-input-synaptics-default-tap.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xf86-input-synaptics.spec ++++++ --- /var/tmp/diff_new_pack.uYl1w8/_old 2012-07-02 10:35:47.000000000 +0200 +++ /var/tmp/diff_new_pack.uYl1w8/_new 2012-07-02 10:35:47.000000000 +0200 @@ -28,6 +28,7 @@ Patch2: xf86-input-synaptics-xorg.conf.d_snippet.diff Patch3: xf86-input-synaptics-add-led-support.diff Patch4: xf86-input-synaptics-led-double-tap.diff +Patch5: xf86-input-synaptics-default-tap.diff BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: libtool @@ -77,6 +78,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build autoreconf -fi ++++++ xf86-input-synaptics-default-tap.diff ++++++ --- conf/50-synaptics.conf | 4 ++++ 1 file changed, 4 insertions(+) --- a/conf/50-synaptics.conf +++ b/conf/50-synaptics.conf @@ -16,6 +16,10 @@ Section "InputClass" # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html MatchDevicePath "/dev/input/event*" Option "HorizScrollDelta" "0" +# enable tap-to-click as default (bnc#722457) + Option "TapButton1" "1" + Option "TapButton1" "2" + Option "TapButton1" "3" EndSection Section "InputClass" ++++++ xf86-input-synaptics-led-double-tap.diff ++++++ --- /var/tmp/diff_new_pack.uYl1w8/_old 2012-07-02 10:35:47.000000000 +0200 +++ /var/tmp/diff_new_pack.uYl1w8/_new 2012-07-02 10:35:47.000000000 +0200 @@ -8,10 +8,10 @@ include/synaptics-properties.h | 3 + man/synaptics.man | 17 ++++++ src/properties.c | 26 ++++++++++ - src/synaptics.c | 101 +++++++++++++++++++++++++++++++++++++++++ + src/synaptics.c | 102 +++++++++++++++++++++++++++++++++++++++++ src/synapticsstr.h | 7 ++ tools/synclient.c | 1 - 6 files changed, 155 insertions(+) + 6 files changed, 156 insertions(+) --- a/include/synaptics-properties.h +++ b/include/synaptics-properties.h @@ -75,7 +75,7 @@ /* only init product_id property if we actually know them */ if (priv->id_vendor || priv->id_product) { values[0] = priv->id_vendor; -@@ -658,6 +661,18 @@ SetProperty(DeviceIntPtr dev, Atom prope +@@ -661,6 +664,18 @@ SetProperty(DeviceIntPtr dev, Atom prope return BadValue; para->touchpad_off = off; @@ -94,7 +94,7 @@ } else if (property == prop_gestures) { BOOL *gestures; -@@ -851,3 +866,14 @@ SetProperty(DeviceIntPtr dev, Atom prope +@@ -857,3 +872,14 @@ SetProperty(DeviceIntPtr dev, Atom prope return Success; } @@ -138,7 +138,7 @@ return Success; } -@@ -1649,6 +1655,74 @@ is_inside_middlebutton_area(SynapticsPar +@@ -1652,6 +1658,75 @@ is_inside_middlebutton_area(SynapticsPar return is_inside_button_area(para, 1, x, y); } @@ -149,10 +149,11 @@ +in_led_toggle_area(InputInfoPtr pInfo, struct SynapticsHwState *hw) +{ + SynapticsPrivate *priv = (SynapticsPrivate *)pInfo->private; ++ SynapticsParameters *pars = &priv->synpara; + int click_led_x, click_led_y; + -+ click_led_x = (priv->maxx - priv->minx) * LED_TOGGLE_X_AREA + priv->minx; -+ click_led_y = (priv->maxy - priv->miny) * LED_TOGGLE_Y_AREA + priv->miny; ++ click_led_x = (pars->right_edge - pars->left_edge) * LED_TOGGLE_X_AREA + pars->left_edge; ++ click_led_y = (pars->bottom_edge - pars->top_edge) * LED_TOGGLE_Y_AREA + pars->bottom_edge; + return (hw->x < click_led_x && hw->y < click_led_y); +} + @@ -213,7 +214,7 @@ static CARD32 timerFunc(OsTimerPtr timer, CARD32 now, pointer arg) { -@@ -1665,6 +1739,15 @@ timerFunc(OsTimerPtr timer, CARD32 now, +@@ -1668,6 +1743,15 @@ timerFunc(OsTimerPtr timer, CARD32 now, SynapticsResetTouchHwState(hw, FALSE); delay = HandleState(pInfo, hw, hw->millis, TRUE); @@ -229,7 +230,7 @@ priv->timer_time = now; priv->timer = TimerSet(priv->timer, 0, delay, timerFunc, pInfo); -@@ -3269,6 +3352,15 @@ HandleState(InputInfoPtr pInfo, struct S +@@ -3274,6 +3358,15 @@ HandleState(InputInfoPtr pInfo, struct S /* If touchpad is switched off, we skip the whole thing and return delay */ if (para->touchpad_off == 1) { @@ -245,7 +246,7 @@ UpdateTouchState(pInfo, hw); return delay; } -@@ -3312,6 +3404,15 @@ HandleState(InputInfoPtr pInfo, struct S +@@ -3330,6 +3423,15 @@ HandleState(InputInfoPtr pInfo, struct S finger = priv->finger_state; } -- 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