diff options
author | Koen Kooi <koen@openembedded.org> | 2010-03-15 19:40:10 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-03-15 19:40:10 +0100 |
commit | ed5210189a29729ee7fd31e7e522b9aeb6036bbb (patch) | |
tree | 202b6087f7c8d24b76da75f7ba545eafdec5ae48 /recipes/xorg-driver/xf86-input-evtouch/02_calibration_1.6.patch | |
parent | ebac0f7b1b6287ca0d6315176a6070b013836032 (diff) |
xf86-input-evtouch: perform sprint cleaning on the recipe to make it build again
Diffstat (limited to 'recipes/xorg-driver/xf86-input-evtouch/02_calibration_1.6.patch')
-rw-r--r-- | recipes/xorg-driver/xf86-input-evtouch/02_calibration_1.6.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes/xorg-driver/xf86-input-evtouch/02_calibration_1.6.patch b/recipes/xorg-driver/xf86-input-evtouch/02_calibration_1.6.patch new file mode 100644 index 0000000000..c461758115 --- /dev/null +++ b/recipes/xorg-driver/xf86-input-evtouch/02_calibration_1.6.patch @@ -0,0 +1,41 @@ +From: Thomas Jaeger <ThJaeger@gmail.com> +Date: Sun, 22 Mar 2009 20:58:58 -0400 +Subject: Make calibration work on xserver-1.6 + +Stolen from Ubuntu. + +Index: xserver-xorg-input-evtouch/ev_calibrate.c +=================================================================== +--- xserver-xorg-input-evtouch.orig/ev_calibrate.c ++++ xserver-xorg-input-evtouch/ev_calibrate.c +@@ -218,7 +218,7 @@ + int cap_style = CapButt; /* style of the line's edje and */ + int join_style = JoinBevel; /* joined lines. */ + +- int event_mask = ExposureMask | ButtonReleaseMask | PointerMotionMask | KeyPressMask; ++ int event_mask = ExposureMask | ButtonPressMask | ButtonReleaseMask | PointerMotionMask | KeyPressMask; + + int depth; + int screen_num; +Index: xserver-xorg-input-evtouch/evtouch.c +=================================================================== +--- xserver-xorg-input-evtouch.orig/evtouch.c ++++ xserver-xorg-input-evtouch/evtouch.c +@@ -306,7 +306,7 @@ + } + + if (pos_changed == 1) { +-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 2 ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 2 + ConvertProc(priv->local, 0, 2, + priv->raw_x, priv->raw_y, + 0, 0, 0, 0, +@@ -369,7 +369,7 @@ + priv->raw_y = priv->min_y; + } + +-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 2 ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 2 + ConvertProc(priv->local, 0, 2, + priv->raw_x, priv->raw_y, + 0, 0, 0, 0, |