Age | Commit message (Collapse) | Author | Files | Lines |
|
If the event is an XI event, we need to work on the correct device, not on
the VCK.
Adds XIGetDevice(event) function to extract the device from an event.
|
|
Really, this was a bad idea. It's not security, the UI features that would
have been cool (e.g. clicking through windows) aren't implemented anyway, and
there's nothing you can't achieve just by using plain XI anyway.
Requires inputproto 1.9.99.6.
|
|
These weren't even being used, which isn't overly surprising, given that
they were already in the struct.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
|
|
Get our own local copy of this, so we don't have to define XKB_IN_SERVER
anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
|
|
It's unmaintained and has been broken for quite a while; MPX finally
smashed it completely.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
|
|
Ditch all #ifdef XINPUT, since it's always built.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
|
|
|
|
Matching functions got removed in 004876355b43fb4d3c2bc5653a7dc1bfd3f985ee.
|
|
Not used since the MD/SD hierarchy was introduced many moons ago.
|
|
|
|
|
|
PairDevices() is only ever called in EnableDevice().
|
|
|
|
|
|
|
|
|
|
The current code exposes to inconsistent updates, i.e. if handler N succeeds
but handler N+1 fails in setting the property, an error is returned to the
client although parts of the server now behave as if the property change
succeeded.
This patch adds a "checkonly" parameter to the SetProperty handler. The
handlers are then called twice, once with checkonly set to TRUE.
On the checkonly run, handlers _MUST_ return error codes if the property
cannot be applied. Handlers are not permitted to actually apply the changes.
On the second run, handlers are permitted to apply property changes.
Errors codes returned on the second run are ignored.
|
|
|
|
|
|
AvailableClientInput (LBX debris) and xf86XinputFinalizeInit.
|
|
|
|
|
|
|
|
Also remove an astonishing amount of misunderstanding of how casts work.
|
|
|
|
xpbproxy as an app or as a thread.
(cherry picked from commit 8edc5fb38c922f28659d2f823148339a8907c4d9)
(cherry picked from commit 88033a66a5549870fd053795b019d4c22950425b)
|
|
|
|
A property can only be deleted if any of the following is true:
- if a property is deletable and all handlers return Success.
- if a property is non-deleteable and the all handlers return Success AND the
delete request does not come from a client (i.e. driver or the server).
A client can never delete a non-deletable property.
|
|
If a property handler now bails out, return the error code to the caller. This
allows to be slightly more specific with the errors.
|
|
This removes all the meta-information about device properties (pending,
fromClient, range, valid_values, immutable).
|
|
This reverts commit d3bd31fddff7894f89ba80a3cdddff49aff08db8.
X.org should not be providing a custom SHA1 implementation.
|
|
Getting an external library for SHA1 is a mess, so just use our own,
regrettably. Public domain implementation.
|
|
Avoids preprocessor collision with xfixeswire.h
|
|
Now that the code has been fixed so that Unmap means unmap and not "don't
remap", 'remap' was confusing to have in the function names/parameters, so
change it to simple 'map'.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
-retro also reverts to the classic cursor display behavior, meaning,
the cursor will be visible before anyone calls XDefineCursor().
|
|
|
|
Note: DevPrivateKey is now pointer-to-int, which means
each key now needs to point to some global storage of
size at least sizeof(int).
|
|
Replaces the use of the screen pointer itself as the key, which was
nice but won't work now that an array index is being stored.
|
|
Upcoming virtual terminal support changes in Solaris kernel will provide
<sys/kd.h> on SPARC too, so this gets us ready for them.
|
|
|
|
Use a compositing manager already. Plus I really wanted to use 'eviscerate'
in a commit message.
|
|
|
|
And make sure os.h is included in files that use it.
|
|
fix the xinitrc / launchd race condition
|
|
This removes yet another xalloc() each server generation. Also, I
couldn't find the corresponding xfree() so I guess that used to be a
memory leak there.
|
|
Instead of xalloc'ing it every server generation. The array is always
the same size (MAXSCREENS), anyway.
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Seriously how was this still here.
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|