diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2008-09-16 01:03:44 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-17 12:27:21 +0930 |
commit | d94719f180ce4e817be2c7b70623e8d9595ca907 (patch) | |
tree | d634815e3a9e68fbb70458915cd0d31996fe55d5 /src | |
parent | f9a0653898631539a984852fe5e806f6a39f7fe1 (diff) |
Allow arbitrary ABS ranges
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/synaptics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c index 2ba89c8..fcc5dbe 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -320,7 +320,7 @@ static void set_default_parameters(LocalDevicePtr local) * If the range was autodetected, apply these edge widths to all four * sides. */ - if (priv->maxx && priv->maxy) + if (priv->minx < priv->maxx && priv->miny < priv->maxy) { int width, height; int ewidth, eheight; /* edge width/height */ |