| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
4709394d76267df05f8dfa7f13e6beb1f9c7394f added it to the xorg.conf.d
snippet. For those stuck on HAL add it to the fdi file too.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Przemo Firszt <przemo@firszt.eu>
(cherry picked from commit 7ee27fee0741cc756dfd20a60afb3de1c9e0ed1b)
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
| |
This check was ok until 7958bb9b1ddef9e8238615fd1b3d15996f00effe, when more
code was moved here and it made no sense this way anymore. Change it to
return early in the case of NULL allocation.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
Really, this shouldn't ever fail but at least it shuts up some static
analysers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|\
| |
| |
| |
| | |
Merge made with 'git pull -s ours', discarding the old rhel6-branch history.
Package was rebased to 0.13.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reported-by: Alex Hamon
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 8674a77acb141c2e861edbacfd527f32c84a28fd)
Conflicts:
man/xsetwacom.man
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the device is specified in the xorg.conf, the fd is on 0 by default. If
no Option Device is present, pInfo->fd isn't touched but still close(2)'d,
stopping error logging.
This is a RHEL6-commit only, upstream should just fix the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This data is later freed when the xserver calls UnInit().
Freeing too early means we segfault later when trying to dereference
null-pointers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 799bbf2cf9cd54942c66f9117df319e933bbd10b)
Conflicts:
src/wcmConfig.c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
One of the changes going into ABI 12 were that the server calls Uninit even
on driver-hotplugged devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 490e345f9d85a73263e96ba0b2918a9a2ca913ad)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Causes a double-free on pInfo when the server calls UnInit later.
Introduced in 2ceee5a0572c968eb36702589b8b9eec4b4c20ef by a bad merge
conflict resolve. The upstream patch has this part included.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
data is allocated, needs to be freed. No real impact since xsetwacom will
exit anyway after this.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 42132efc7f22a353f5d5976cb898abd1ea04e761)
Cherry-picked, but essentially newly written. It's just one line and
upstream is _very_ different
Conflicts:
tools/xsetwacom.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The interactions between tablet_area in multimonitor setups are
complicated to say the least. Amongst other issues, it caused the
calibration to be out by a bit and rather unpredictable.
Force the area property to always be in device coordinates. This means
that clients that need this property now also need to set the property
in device coordinates which may be difficult if the axis ranges have
already been adjusted.
Only way for clients: reset the property with -1 values, read the
values, then set from there.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| | |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
xsetwacom xydefaults updates the area property with -1 values. Accept
them as before but schedule a new update with the real values we're
setting the area to. Otherwise, the value stored in the property will be
-1 as well.
Since the value passed by the server isn't const and written into the
server's storage _after_ calling all SetProperty handlers, a
memcpy(values, {priv->topX, priv->topY...}, sizeof(*values)) would do
the same job, but relying on rather hack-ish behaviour.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Let's do what the man page says.
Reported-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit ab71355f6e251833f422cf5c591ed42208cf3f91)
Note that we build with debugging disabled by default. But for debugging
purposes, it's easier to have this build in the tree
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| | |
xsetwacom does exactly that when TV_NONE is set, don't return BadValue from
the driver.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also scheduled for removal.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 0b9756915d44d9b1f19eb4317533a05295637d52)
|
| |
| |
| |
| |
| |
| | |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit a65857d6e30aec1f8a819b60834d14621f67514d)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Scheduled to be removed in the server and neither the server nor we need it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 95aea505990716c1b7d635e5d34a86b37832c173)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These fields are unused and to be removed soon anyway. Don't init them, we
don't access them at any time.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 2515103d4672c1cdf4c2d0ac6e7a55ab1201da24)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
dixScreenOrigins was removed in xserver commit
commit a83cff9f4d622b069c96a68b4e87a669bf1f6446
Author: Jamey Sharp <jamey@minilop.net>
AuthorDate: Sun May 23 10:11:47 2010 -0700
Move each screen's x/y origin into ScreenRec.
the x/y fields were moved into the ScreenRec. The ABI wasn't bumped (thanks
guys, ...) , so we have to resort to this ifdef check. This leaves us with
unbisectable state between a83cff9f and 1.8.99.901 (83 commits) where the
patch has to be manually applied. Sorry.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 23698917748419185217cf891b6aef03dedab093)
|
| |
| |
| |
| |
| |
| |
| |
| | |
conf_idev is slated for removal in the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit fd3c86ee1e17df2b186aa52977be71772f7f360a)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Chris Bagwell <chris@cnpbagwell.com>
(cherry picked from commit c6dcc3a1f78b6eb2e3d0ac1b7074ec5b94d5c209)
Conflicts:
src/xf86Wacom.c
|
| |
| |
| |
| |
| | |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit ea392a15560e19d28caf082f113e58edb6e56132)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Removed from the server with
commit 6130170e7e9b64c611ee942ec3455dd1a185193d
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Sep 18 06:41:35 2010 -0400
xfree86: Remove unused refcounting from input drivers
And given that it was unused, we don't need to ifdef it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit a598ba47028075c0192533e12b825490e361e698)
Conflicts:
src/wcmConfig.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
New PreInit prototype streamlines the process a bit, leaving most of the
task up to the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit d086b320fef1bde7db149309a6d77f072f8cbdb1)
Conflicts:
src/wcmConfig.c
|
| |
| |
| |
| |
| |
| | |
Not cherry-picked, sed is much faster than I am at resolving conflicts.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This flag has been write-only since server 1.4.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 74645df081575eaff7e2ce2c8325df9d47261dfb)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The X server is just deprecating them from the headers and the wrapping
never had the desired effect anyway (which was to have alternative
allocation implementations).
This patch brought to you by sed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pingc@wacom.com>
(cherry picked from commit 44f4b81300b63fb01857197a96993bd85cc873ea)
Conflicts:
src/wcmCommon.c
|
| |
| |
| |
| |
| |
| |
| | |
Don't allow for button 0 to be map-able but allow for the last button to be
mapped.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added DTU2231, DTU1631, Intuos4 WL, and Cintiq 21UX2 tablets.
Signed-off-by: Ping Cheng <pinglinux@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Conflicts:
src/wcmUSB.c
(cherry-picked from commit c23a3a320120069367e067f11973e9d4bacc3b1b)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit f1d3c1b1486c99ef64d0a34f354d7f89c3d181c8)
Conflicts:
tools/xsetwacom.c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 48bbc89e7cc4e263a04287fff68ac109a8727910)
Conflicts:
tools/xsetwacom.c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The driver has no say whether a key is to be sent as core event or not, the
attachment of the device will decide this (since X server 1.7).
To let users know that their old configurations may not do the same thing,
print a notice.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 20715a4a066435b1d785a5b5df50b96c7bc5dcb5)
Conflicts:
tools/xsetwacom.c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| | |
Otherwise, unsetting a property is impossible.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With the new support for wheel actions, the actual action would be delayed
by one invocation, i.e. any action would always reflect the last xsetwacom
command, not the current one.
Caused by the driver now calls XIGetProperty() during the update but the
property hasn't actually set the value yet. Hack around this by always
updating the parent property, triggering a reload of all actions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit ba77b532e6c2a0b7b05ab129009c1f614b089c37)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After a special button mapping was assigned, allow switching back to a
simple button mapping.
The following sequence now works:
xsetwacom set <device> Button1 key a b c
xsetwacom set <device> Button1 1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 3055c4cf8b1140bfb6e0a7c89da0eec4f306416d)
Conflicts:
tools/xsetwacom.c
|
| |
| |
| |
| |
| |
| |
| |
| | |
This isn't really accurate as it relies on the current keymap, but then
again, that's what you get for having keysym handling in the driver...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit da364f528bf42a80a9bb45e27beaf1632265c21c)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a device has something more complex than a simple button mapping for a
given button, print it.
Note that this doesn't simplify the mappings, so
xsetwacom set <device> Button1 "button 1"
will print as
... "button +1 -1"
instead.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit f9f2a531e81c97b0d56175844de02017540c37fc)
|
| |
| |
| |
| |
| |
| | |
Signed-off-by: David Foley <favux.is@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 3770aaf4a4b91454e9c6894e240583dace2afbbc)
|
| |
| |
| |
| |
| |
| | |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit c5a2829459df2d95a60527f1e5af279150a28fd9)
|
| |
| |
| |
| |
| |
| | |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit de4a3690c25b822d0bdc54602befa9a09c2af54b)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Misplaced scanf caused button mappings to always be 0 if no + or - was
specified or the button number was < 10.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
(cherry picked from commit 6d5a4bea3319901ab872550ddfd703d601b873e9)
|