diff options
author | Chris Bagwell <chris@cnpbagwell.com> | 2010-07-19 19:30:14 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-07-21 13:08:46 +1000 |
commit | 75459b1c0bb85ce0bbeb4270114edddb30ff3b1b (patch) | |
tree | 9e353b310bc4dbdd4c75aa1c38a05747d3a069cd /src/properties.c | |
parent | 51e9bb815812469f39ad47f723d842bf1893a109 (diff) |
Expose width support in capabilites properity.
Some properties are only valid with hardware supports
width. Namely, *MinW properties. Config GUI's may
wish to disable/grey out options related to width support.
This combined with pressure property is good indication when
2 finger scrolling can be supported using emulation.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/properties.c')
-rw-r--r-- | src/properties.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/properties.c b/src/properties.c index ab2a0eb..b17089c 100644 --- a/src/properties.c +++ b/src/properties.c @@ -265,7 +265,8 @@ InitDeviceProperties(LocalDevicePtr local) values[3] = priv->has_double; values[4] = priv->has_triple; values[5] = priv->has_pressure; - prop_capabilities = InitAtom(local->dev, SYNAPTICS_PROP_CAPABILITIES, 8, 6, values); + values[6] = priv->has_width; + prop_capabilities = InitAtom(local->dev, SYNAPTICS_PROP_CAPABILITIES, 8, 7, values); values[0] = para->resolution_vert; values[1] = para->resolution_horiz; |