Jeremy Huddleston
69cc358026
mi: Re-added locking to mieqProcessInputEvents
...
because mieqEnqueue can thrash it still...
2008-11-05 19:45:20 -08:00
Jeremy Huddleston
3b55803615
mi: Actually, we don't need to lock at all in mieqProcessInputEvents...
2008-10-23 16:25:31 -07:00
Jeremy Huddleston
06655dac00
mi: Just some formatting consistency...
2008-10-23 14:28:50 -07:00
Jeremy Huddleston
d7d4cd3003
mi: Avoid possible deadlock in miEq
...
When the handler for an event requires sending a message to another thread that is waiting for the miEq mutex.
2008-10-23 14:08:30 -07:00
Jeremy Huddleston
c1caeb52a4
XQuartz: Make WarpPointer multithread safe in XQuartz.
2008-09-04 10:00:43 -07:00
Jeremy Huddleston
4904e04ce6
XQuartz: Added locking into mieq to protect X from eating itself
2008-09-04 08:37:22 -07:00
Jeremy Huddleston
c9ac2f5753
mieqProcessInputEvents: Check custom event handlers first.
2008-09-03 03:17:59 -07:00
Jeremy Huddleston
8b8e0aea6f
XQuartz: Removed NewCurrentScreen debugging spew.
2008-09-03 03:14:22 -07:00
Jeremy Huddleston
4b7c684371
XQuartz: More debugging spew for tracking down the NewCurrentScreen crash.
2008-08-30 14:55:36 -07:00
Jeremy Huddleston
b585e48cff
XQuartz: Handle Pseudorami init in miinitext
...
(cherry picked from commit a585c94fed
)
2007-12-21 01:24:31 -08:00
Jeremy Huddleston
9f5507a3c5
Merge branch 'server-1.4-branch' into xorg-server-1.4-apple
2007-12-20 19:04:33 -08:00
Bartosz Fabianowski
446efcc554
Input: Fix proximity events with valuators
...
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)
2007-12-07 02:38:44 +00:00
Ben Byer
cee516e142
From Jeremy Huddleston:
...
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.
2007-11-20 04:07:22 -08:00
Ben Byer
da6cfcb89b
Build system patches to remove XDarwin from the build (since it doesn't
...
work anyway), courtesy of Jeremy Huddleston
2007-11-20 04:00:00 -08:00
Ben Byer
c213749b19
fixes to allow Xvfb and Xephyr to be built if you build with --disable-xdarwin
2007-11-20 03:41:29 -08:00
Ben Byer
ed161d013c
Fixed glx/DarwinGlx symbol problems; other servers (such as xvfb and xnest)
...
should now be buildable from this code if you pass e.g. --enable-xvfb
to configure.
2007-11-20 03:40:56 -08:00
Ben Byer
120e831640
More patches from downstream
2007-11-20 03:01:12 -08:00
Søren Sandmann Pedersen
aa3c6aaaab
Require pixman-1 0.9.4, update pixman includes to new scheme
2007-08-06 19:00:59 -04:00
Keith Packard
866f092ca0
Make Composite manual redirect windows not clip their parent.
...
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.
2007-07-03 14:29:11 -07:00
Adam Jackson
4d76075dbb
Death to RCS tags.
2007-06-29 14:06:52 -04:00
Michel Dänzer
40f27a2df4
mieqEnqueue: Make local queue tail variables unsigned.
...
So the modulo arithmetic actually works as intended... thanks to Peter Hutterer
for pointing out the problem.
2007-06-19 09:11:16 +02:00
Michel Dänzer
30a3297fed
mieq queue handling cleanups.
...
In particular, fix handling of wraparounds in mieqEnqueue.
2007-06-11 09:23:18 +02:00
Soren Sandmann Pedersen
1568b6b6a0
Port large amounts of the region code to pixman
2007-05-15 11:13:16 -04:00
Soren Sandmann Pedersen
dde0ceac4e
Add new InitRegions() function called from dix/main
2007-05-15 11:13:15 -04:00
Adam Jackson
a277f04ab0
Remove mfb and cfb from include paths where they're not needed.
2007-05-11 11:43:19 -04:00
Adam Jackson
20c5250e48
Use system copy of cbrt() if available.
...
Also move the replacement inline into miarc.c, since that's the only user.
2007-05-11 11:43:19 -04:00
Adam Jackson
8dcc37520d
Use _X_INLINE instead of ad-hoc #defines.
2007-05-11 11:43:19 -04:00
Adam Jackson
6ff239cb4e
Make the use of ICEIL slightly less ugly.
2007-05-11 11:43:19 -04:00
Keith Packard
806a537e64
Revert "Suppress software cursor removal during rotated shadow buffer drawing."
...
This reverts commit 999b681cf3
.
Replacing this with simpler code that just disables SourceValidate
during rotation redisplay.
2007-04-19 17:49:34 -07:00
Eric Anholt
999b681cf3
Suppress software cursor removal during rotated shadow buffer drawing.
2007-04-18 14:33:27 -07:00
Eric Anholt
5d8e8a7f4b
Remove libminimi build.
...
It appears to have been a leftover of a previous incarnation of the build
system that didn't handle miinitext.c well.
2007-04-18 13:22:26 -07:00
Daniel Stone
e49f836d6f
mieq: Use larger default queue size
...
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.
2007-04-10 23:58:20 +03:00
Stefan Huehner
1f6741db19
Bug #10560 : Code-Cleanup: function declarations () -> (void)
...
X.Org Bugzilla #10560 : <https://bugs.freedesktop.org/show_bug.cgi?id=10560 >
Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511 >
2007-04-09 14:33:15 -07:00
Adam Jackson
af769892a9
Static and dead code cleanup from mi/
2007-03-25 17:56:32 -04:00
Adam Jackson
9a0f25de7c
Static cleanups, dead code deletion.
2007-03-25 12:27:01 -04:00
Daniel Stone
80d29475b9
mieq: Allow event handlers for arbitrary events to be set
...
Allow arbitrary events to use mieq by letting custom handlers be set.
2007-03-21 00:10:38 +02:00
Peter Hutterer
4054834965
mi: remove 'register' keywords.
2007-03-09 14:16:23 +10:30
Ben Byer
d287b76471
cleaned up some linking ugliness in hw/darwin/quartz
2007-02-17 03:47:42 -08:00
Ben Byer
cf4994b0db
dix mods for Darwin
2007-02-17 01:21:43 -08:00
Peter Hutterer
37fe4c49dc
mi: Move WarpPointer event generation to miPointerMove to avoid duplicate
...
events, cache event array allocation.
2007-02-16 09:57:57 +10:30
Peter Hutterer
d570ff7c81
fix: WarpCursor needs to send MotionNotify.
2007-02-15 10:28:55 +10:30
Fredrik Höglund
3b5b7ef5c2
Move the code for resetting the DPMS mode in response to input events,
...
from WaitForSomething to mieqProcessInputEvents.
mieqProcessInputEvents already handles resetting the screen saver.
2007-01-03 21:05:35 +01:00
Daniel Stone
c3ea1f7db4
dix/mi: still more warning fixes
...
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).
2006-11-08 15:29:16 +02:00
Daniel Stone
c51fadc07d
mieq: annotate with some more comments
2006-11-08 15:29:15 +02:00
Eamon Walsh
5e946dd853
Bug #8937 : Extension setup functions not called on server resets
2006-11-07 13:50:19 -05:00
Daniel Stone
a5be654017
mieqEnqueue: only compare DEVICE_BITS of deviceid
...
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.
2006-10-27 01:25:21 +03:00
Daniel Stone
3da918a16c
mipointer: remember to update pointer location
...
Update pointer location so it doesn't get quickly reset by the next
pointer update.
2006-10-25 02:22:07 +03:00
Daniel Stone
b1debebf8f
mi: remove mi motion history
...
This is now unneeded as we do motion history in the DIX.
2006-10-25 01:10:20 +03:00
Daniel Stone
11fb58be77
miscellaneous warning fixes
...
Use the correct type for time, and fix the mi prototype of EnqueueEvent.
2006-10-25 01:07:36 +03:00
Daniel Stone
4dd91c45ab
miinitext: Xi and XKB are not hardware-only extensions
...
Xi is now a required extension, and XKB can be used without hardware,
so include them both when NO_HW_ONLY_EXTS is defined.
2006-10-23 02:50:03 +03:00