summaryrefslogtreecommitdiff
path: root/dix
AgeCommit message (Collapse)AuthorFilesLines
2007-04-24Disable devices before removing, remove unrecoverable devices.Peter Hutterer1-0/+1
2007-04-24Use DevicePresence events to tell the client about enabled/disabled devices.Peter Hutterer1-4/+29
Include the device id in the event sent to the client.
2007-04-23fix bug in which maxKeysPerModifier wasn't getting setBrian1-0/+1
2007-04-13Documentation for events.c.Peter Hutterer1-6/+444
2007-04-10Input: Always add devices with first available IDMagnus Vigerlöf1-2/+15
Scan the device list when adding a new device, and make sure we can use the first available ID, instead of always incrementing.
2007-04-10Input: Plug memory leak in device freeMagnus Vigerlöf1-1/+6
Remember to also free the motion history, if we're using the DIX-managed history.
2007-04-10getevents: Copy modifier state from extended to core devicesDaniel Stone1-0/+20
Make core events carry the same modifier state as the extended events, so that holding down Ctrl on keyboard A and pressing Q on keyboard B won't cause your app to quit.
2007-04-09Bug #10560: Code-Cleanup: function declarations () -> (void)Stefan Huehner12-46/+46
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-26Remove dead NEED_DBE_BUF_BITS code.Eamon Walsh2-10/+0
2007-03-25General DIX static and dead code cleanup.Adam Jackson6-252/+127
2007-03-25Static cleanups, dead code deletion.Adam Jackson6-10/+11
2007-03-25dix: Increase allocation size for core keyboard keymap to avoid buffer ↵Peter Hutterer1-1/+1
overrun when copying keymap from extension devices.
2007-03-20Static markup and dead code cull over xkb/.Adam Jackson4-4/+4
The former <X11/extensions/XKBsrv.h> has been pulled into the server now as include/xkbsrv.h, and the world updated to look for it in the new place, since it made no sense to define server API in an extension header. Any further work along this line will need to do similar things with XKBgeom.h and friends.
2007-03-08dix: remove 'register' keyword for all variables.Peter Hutterer18-673/+672
2007-03-07Properly free device devPrivates - memory leak fix.Eamon Walsh1-0/+3
2007-03-06remove PIXPRIV check as this flag is always set.Eamon Walsh1-4/+0
2007-03-06remove PIXPRIV checks as this flag is always set.Eamon Walsh2-8/+0
2007-02-17autoconf goodness for XDarwin, courtesy of pogmaBen Byer1-4/+0
2007-02-17dix mods for DarwinBen Byer2-0/+5
2007-02-15fix: WarpCursor needs to send MotionNotify.Peter Hutterer1-25/+30
2007-01-08Attempt to fix drawable type checks in dixLookupDrawable().Michel Dänzer1-3/+3
Not sure this is 100% correct either, but it fixes at least one reproducible crasher where it returned a pixmap to dixLookupWindow().
2006-12-27dix/events: take screen number, not pointer, in PostSyntheticMotionPeter Hutterer1-3/+3
Since we were using PostSyntheticMotion incorrectly anyway, update the declared API to match.
2006-12-22Zero out client devPrivates on allocation.Eamon Walsh1-0/+2
2006-12-15Add loud warnings to deprecated lookup functions.Eamon Walsh1-5/+19
Hopefully this will alert external driver maintainers.
2006-12-15Convert callers of LookupClient() to dixLookupClient().Eamon Walsh2-9/+8
2006-12-15Convert callers of SecurityLookupWindow() to dixLookupWindow().Eamon Walsh4-199/+185
2006-12-14Remove instances of macros SECURITY_VERIFY_GEOMETRABLE and SECURITY_VERIFY_GC.Eamon Walsh1-53/+79
2006-12-14Remove instances of macros VERIFY_GEOMETRABLE and VERIFY_GC.Eamon Walsh1-1/+0
2006-12-14Remove instances of macro SECURITY_VERIFY_DRAWABLE.Eamon Walsh1-12/+24
2006-12-14Add new, combined dix lookup functions (tweak).Eamon Walsh1-1/+1
2006-12-14Add new, combined dix lookup functions.Eamon Walsh1-81/+95
2006-12-14Naming change: Security*Access -> Dix*AccessEamon Walsh10-110/+110
2006-12-06config: move config.h to hotplug.hDaniel Stone2-4/+3
Also, move configInitialise to after OsInit, since the next commit will make it use a timer.
2006-12-06GetPointerEvents: always send valuator events for MotionNotifyDaniel Stone1-5/+8
Always chase a DeviceMotionNotify event with a DeviceValuator, which is not required in the spec, but will silently break the lib if you don't include.
2006-12-06GetPointerEvents: fix typoDaniel Stone1-1/+1
Fix typo that resulted in inverted axes when using an absolute positioning device that didn't report y, and thus relied on the previous value.
2006-12-06config: move to block/wakeup handlerDaniel Stone1-3/+0
2006-12-06SyntheticMotion: don't dereference sprite.screen when not using XineramaDaniel Stone1-1/+2
(cherry picked from aa052e43c6c293e14f78837e00c6b7581f9713bb commit)
2006-12-01Naming change: Security*Operation -> Xace*OperationEamon Walsh1-8/+8
2006-12-01Define calls away when not building XACE, allowing ifdef's to be removed.Eamon Walsh9-181/+80
2006-11-30Tell automake to STFU about the *.O filesAlan Coopersmith1-1/+1
automake will not stop whining about the *.O files not being in normal library name format, so just tell automake they are PROGRAMS so it builds them without bitching.
2006-11-27Merge branch 'randr-1.2'Eric Anholt2-5/+6
Conflicts: dix/events.c dix/getevents.c hw/xfree86/common/xf86Mode.c hw/xfree86/dri/Makefile.am hw/xfree86/os-support/drm/xf86drm.c hw/xfree86/os-support/xf86drm.h
2006-11-21Issue CloseDownDevices() in os/log.c and remove from dix/main.c.Alan Hourihane1-5/+0
This ensures that all calls to FatalError() will shutdown the input devices.
2006-11-18Shutdown input devices if FatalError occurs during startup.Alan Hourihane1-5/+15
Fixes Xdmx problems when the input device has been initialized and the keyboard map has been destroyed.
2006-11-11ffs: handle 0 argument (bug #8968)Jurij Smakov1-0/+2
Handle an argument of 0 in ffs(), instead of looping indefinitely. Add an ffs prototype to dix.h, and add includes to ffs.c. (cherry picked from 34164e551e4c3909322d50b09835ca4ac1d49d68 commit)
2006-11-08remove trailing whitespaceDaniel Stone1-2/+2
Whitespace police in full effect.
2006-11-08Get*Events: massive reorganisationDaniel Stone1-223/+226
Reorganise the code logically, and put more comments in. Clip valuators in proximity calls.
2006-11-08SyntheticMotion: don't dereference sprite.screen when not using XineramaDaniel Stone1-1/+2
2006-11-08dix: remove staggeringly broken vendor workaroundsDaniel Stone1-8/+0
Dear SGI, No. Scant regards, Daniel
2006-11-08dix/mi: still more warning fixesDaniel Stone1-8/+15
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-08dix: add missing prototypesDaniel Stone2-1/+6
Add missing prototype for ffs, and include headers from ffs.c. Move PostSyntheticMotion prototype to input.h.