Age | Commit message (Collapse) | Author | Files | Lines |
|
(cherry picked from commit a585c94fedd4ecbc87524703c01bb128fc2aa951)
|
|
|
|
Initialise num_events to 1, so we always send a proximity event, and then
optionally valuator events. Also make sure mieq can deal with valuator
events sent after proximity events.
(cherry picked from commit 2dcfab37d38c0c72e9be7cc724047405c8029e88)
|
|
1) Fixed a bug where XQUARTZ was #defined when auto but not when --enable-xquartz
2) Cleaned up missing #includes and function prototypes.
3) Fixed some invalid C syntax problems
4) Removed a bunch of dead code
5) Cleaned up code to prevent some warnings
6) Bugfix in xpr/x-hook.c - looks like someone just forgot to finish writing code for hook_remove()... I only noticed it because gcc -Wall complained about reaching the end of a non-void function... lucky for us gcc is smarter than we are.
|
|
work anyway), courtesy of Jeremy Huddleston
|
|
|
|
should now be buildable from this code if you pass e.g. --enable-xvfb
to configure.
|
|
|
|
|
|
This patch changes the semantics of manual redirect windows so that they no
longer affect the clip list of their parent. Doing this means the parent can
draw to the area covered by the child without using IncludeInferiors. More
importantly, this also means that the parent receives expose events when
that region is damaged by other actions.
|
|
|
|
So the modulo arithmetic actually works as intended... thanks to Peter Hutterer
for pointing out the problem.
|
|
In particular, fix handling of wraparounds in mieqEnqueue.
|
|
|
|
|
|
|
|
Also move the replacement inline into miarc.c, since that's the only user.
|
|
|
|
|
|
This reverts commit 999b681cf3973af4191506e49cde06963b11a774.
Replacing this with simpler code that just disables SourceValidate
during rotation redisplay.
|
|
|
|
It appears to have been a leftover of a previous incarnation of the build
system that didn't handle miinitext.c well.
|
|
Use a default queue size of 512 rather than 256, else Xephyr is too slow
without a host cursor, so events get stuck in the queue.
|
|
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560>
Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
|
|
|
|
|
|
Allow arbitrary events to use mieq by letting custom handlers be set.
|
|
|
|
|
|
|
|
events, cache event array allocation.
|
|
|
|
from WaitForSomething to mieqProcessInputEvents.
mieqProcessInputEvents already handles resetting the screen saver.
|
|
Fix up prototypes for PrintChildren and PrintWindowTree in the dix.
Make miPrintRegion be unconditionally defined, and move the prototype into
regionstr.h.
Change a bunch of ScreenPtr pScreen = foo; to
ScreenPtr pScreen; pScreen = foo; in window.c, so we avoid unused variable
references (as inline REGION_* doesn't reference pScreen).
|
|
|
|
|
|
Only compare DEVICE_BITS of the two deviceids, so we don't decide that
a valuator event isn't for us, because (id | MORE_EVENTS) != id.
|
|
Update pointer location so it doesn't get quickly reset by the next
pointer update.
|
|
This is now unneeded as we do motion history in the DIX.
|
|
Use the correct type for time, and fix the mi prototype of EnqueueEvent.
|
|
Xi is now a required extension, and XKB can be used without hardware,
so include them both when NO_HW_ONLY_EXTS is defined.
|
|
|
|
Move the keymap copying to event processing time (in
ProcessInputEvents), instead of being at event enqueuing time.
Break SetCore{Pointer,Keyboard} out into separate functions.
Change mieqEnqueue to take a device pointer, that asks for the
_original_ device associated with this event.
|
|
input-hotplug
|
|
Update mipointer API to take a device argument to (almost) all functions,
and split miPointerAbsoluteCursor into a couple of separate functions.
Remove miPointerAbsoluteCursor call from mieq, as we now deal with it in
GetPointerEvents.
Make miPointerSetPosition (successor of miPointerAbsoluteCursor) take
pointers to x and y, so it can return the clipped values.
Modify callers of miPointer*() functions to generally use the new
functions.
This should fix things with multi-head setups.
|
|
Deprecate all mi pointer functions which don't take a device argument, and
replace them with versions which do, in preparation for MPX.
|
|
Deprecate miPointer functions which don't take a device pointer. Pointer
movement should be handled through GetPointerEvents, and functions which
take a device as an argument (e.g. miPointerPosition) will be added.
|
|
Remove debugging which can cause long-lived Xorg logs to grow well above 1GB
if built with --enable-debug.
|
|
|
|
input-hotplug
|