summaryrefslogtreecommitdiff
path: root/mi
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21XQuartz: Handle Pseudorami init in miinitextJeremy Huddleston1-0/+9
(cherry picked from commit a585c94fedd4ecbc87524703c01bb128fc2aa951)
2007-12-20Merge branch 'server-1.4-branch' into xorg-server-1.4-appleJeremy Huddleston1-1/+3
2007-12-07Input: Fix proximity events with valuatorsBartosz Fabianowski1-1/+3
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-11-20From Jeremy Huddleston:Ben Byer1-4/+0
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-20Build system patches to remove XDarwin from the build (since it doesn'tBen Byer1-12/+0
work anyway), courtesy of Jeremy Huddleston
2007-11-20fixes to allow Xvfb and Xephyr to be built if you build with --disable-xdarwinBen Byer1-3/+3
2007-11-20Fixed glx/DarwinGlx symbol problems; other servers (such as xvfb and xnest)Ben Byer1-2/+2
should now be buildable from this code if you pass e.g. --enable-xvfb to configure.
2007-11-20More patches from downstreamBen Byer1-6/+6
2007-08-06Require pixman-1 0.9.4, update pixman includes to new schemeSøren Sandmann Pedersen1-1/+1
2007-07-03Make Composite manual redirect windows not clip their parent.Keith Packard1-10/+21
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-06-29Death to RCS tags.Adam Jackson3-4/+0
2007-06-19mieqEnqueue: Make local queue tail variables unsigned.Michel Dänzer1-1/+1
So the modulo arithmetic actually works as intended... thanks to Peter Hutterer for pointing out the problem.
2007-06-11mieq queue handling cleanups.Michel Dänzer1-16/+6
In particular, fix handling of wraparounds in mieqEnqueue.
2007-05-15Port large amounts of the region code to pixmanSoren Sandmann Pedersen1-679/+50
2007-05-15Add new InitRegions() function called from dix/mainSoren Sandmann Pedersen1-0/+7
2007-05-11Remove mfb and cfb from include paths where they're not needed.Adam Jackson1-2/+0
2007-05-11Use system copy of cbrt() if available.Adam Jackson3-55/+11
Also move the replacement inline into miarc.c, since that's the only user.
2007-05-11Use _X_INLINE instead of ad-hoc #defines.Adam Jackson2-31/+5
2007-05-11Make the use of ICEIL slightly less ugly.Adam Jackson4-22/+3
2007-04-19Revert "Suppress software cursor removal during rotated shadow buffer drawing."Keith Packard3-36/+4
This reverts commit 999b681cf3973af4191506e49cde06963b11a774. Replacing this with simpler code that just disables SourceValidate during rotation redisplay.
2007-04-18Suppress software cursor removal during rotated shadow buffer drawing.Eric Anholt3-4/+36
2007-04-18Remove libminimi build.Eric Anholt1-5/+2
It appears to have been a leftover of a previous incarnation of the build system that didn't handle miinitext.c well.
2007-04-10mieq: Use larger default queue sizeDaniel Stone1-1/+1
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-09Bug #10560: Code-Cleanup: function declarations () -> (void)Stefan Huehner2-4/+4
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560> Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
2007-03-25Static and dead code cleanup from mi/Adam Jackson19-573/+61
2007-03-25Static cleanups, dead code deletion.Adam Jackson2-3/+3
2007-03-21mieq: Allow event handlers for arbitrary events to be setDaniel Stone2-0/+27
Allow arbitrary events to use mieq by letting custom handlers be set.
2007-03-09mi: remove 'register' keywords.Peter Hutterer25-556/+556
2007-02-17cleaned up some linking ugliness in hw/darwin/quartzBen Byer1-14/+14
2007-02-17dix mods for DarwinBen Byer1-3/+6
2007-02-16mi: Move WarpPointer event generation to miPointerMove to avoid duplicatePeter Hutterer1-23/+31
events, cache event array allocation.
2007-02-15fix: WarpCursor needs to send MotionNotify.Peter Hutterer1-0/+23
2007-01-03Move the code for resetting the DPMS mode in response to input events,Fredrik Höglund1-0/+13
from WaitForSomething to mieqProcessInputEvents. mieqProcessInputEvents already handles resetting the screen saver.
2006-11-08dix/mi: still more warning fixesDaniel Stone1-4/+1
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-08mieq: annotate with some more commentsDaniel Stone1-2/+6
2006-11-07Bug #8937: Extension setup functions not called on server resetsEamon Walsh1-0/+10
2006-10-27mieqEnqueue: only compare DEVICE_BITS of deviceidDaniel Stone1-1/+2
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-25mipointer: remember to update pointer locationDaniel Stone1-0/+4
Update pointer location so it doesn't get quickly reset by the next pointer update.
2006-10-25mi: remove mi motion historyDaniel Stone3-91/+0
This is now unneeded as we do motion history in the DIX.
2006-10-25miscellaneous warning fixesDaniel Stone1-0/+1
Use the correct type for time, and fix the mi prototype of EnqueueEvent.
2006-10-23miinitext: Xi and XKB are not hardware-only extensionsDaniel Stone1-2/+2
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-22minor formatting fixesDaniel Stone1-1/+1
2006-10-20move keymap copy to event processing, from enqueuingDaniel Stone2-81/+72
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.
2006-10-13Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone1-1/+17
input-hotplug
2006-10-08mipointer: take device arguments, split miPointerAbsoluteCursorDaniel Stone3-43/+94
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.
2006-10-08mi/mipointer: deprecate functions which don't take a deviceDaniel Stone3-22/+56
Deprecate all mi pointer functions which don't take a device argument, and replace them with versions which do, in preparation for MPX.
2006-10-08mi/pointer: mark public pointer functions as deprecatedDaniel Stone1-8/+8
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.
2006-09-30dix/events, mi/eq: remove utterly ridiculous debuggingDaniel Stone1-12/+1
Remove debugging which can cause long-lived Xorg logs to grow well above 1GB if built with --enable-debug.
2006-09-15Merge branch 'master' into my-XACE-modularXACE-modularEamon Walsh1-0/+4
2006-09-07Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone1-0/+4
input-hotplug