summaryrefslogtreecommitdiff
path: root/dix
AgeCommit message (Collapse)AuthorFilesLines
2007-06-29Death to RCS tags.Adam Jackson3-5/+0
2007-06-29Make sure window->optional is allocated before assigning it.Peter Hutterer1-6/+6
DeletePassiveGrabFromList() may remove the window optional, so we need to re-alloc it if it isn't there anymore. Thanks to Colin Harrison for spotting the bug.
2007-06-27More janitor work. Remove 'defined but not used' warnings from kdrive and ↵Tiago Vignatti1-1/+0
some minor cosmetic.
2007-06-25Set the detail field for DeviceKeyEvents to the keycode.Peter Hutterer1-0/+1
(cherry picked from commit 0c33dc152e372cdc8ae59d9a5696b0774bcd03b7)
2007-06-25Only decrement buttonsDown when the button count is greater than 0.Peter Hutterer1-10/+21
Device drivers flush their buttons on device init and cause a button down event to be generated. If we unconditionally decrease the buttons, we won't be able to ever get a passive device grab. Format documentation for CheckDeviceGrabs to make it readable. (cherry picked from commit 3e894974cdd6a75683d4601f71622d1da7ec4395) Conflicts: Xi/exevents.c
2007-06-25Add a few comments to devices.cPeter Hutterer1-0/+76
2007-06-25Check for identical grabs when adding a new passive grab. If an identical grabPeter Hutterer1-0/+47
exists, remove the old one and prepend the new one. X.org Bug 2738 <https://bugs.freedesktop.org/show_bug.cgi?id=2738>
2007-06-11dixLookupClient: Use access parameter.Michel Dänzer1-1/+1
2007-06-04Remove the old Kerberos 5 authentication code.Adam Jackson2-25/+0
Before you complain, this code hasn't seen material change since at least X11R6. It certainly does not build with any modern version of Kerberos. Anybody wanting krb5 auth to their X server should probably be using GSSAPI instead of internal krb5 API anyway.
2007-06-04Fully init the AbsoluteClassRec in InitAbsoluteClassDeviceStruct.Zephaniah E. Hull1-0/+1
(Specificly, we were missing the screen field.)
2007-05-24Reinstate an apparently mis-deleted ';' from a for loop with no body.Luo Jie1-0/+1
Fixes an error returning "No core keyboard" with multiple keyboards.
2007-05-24Fix build of composite, dix, and randr when Xinerama is disabled.Luo Jie1-0/+7
2007-05-15Add new InitRegions() function called from dix/mainSoren Sandmann Pedersen1-0/+1
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)