summaryrefslogtreecommitdiff
path: root/Xi
AgeCommit message (Collapse)AuthorFilesLines
2007-11-05Xi: Remove usage of allocaDaniel Stone1-2/+2
Replace with xalloc/xfree.
2007-09-26Input: Properly swap DevicePresenceNotify events.Eamon Walsh1-0/+3
2007-09-26Input: Return errors to the dispatcher instead of sending them ourself.Eamon Walsh35-652/+267
Also fixed two "unused variable: stuff" warnings.
2007-09-23Input: Generate XKB mapping changes for all core-sending devices (bug #12523)Daniel Stone3-4/+13
When we change the mapping on a core device, make sure we propagate this through to XKB for all extended devices as well.
2007-08-01Input: Don't enable devices when we open themDaniel Stone1-4/+0
Thanks to Xi's braindead design, it's otherwise impossible to query input devices without enabling them. Hurrah.
2007-06-25Only decrement buttonsDown when the button count is greater than 0.Peter Hutterer1-2/+4
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-04-11Input: Allow a pointer to a device to be returned in NIDRRemigiusz Marcinkiewicz1-1/+1
Allow a pointer to the first device added to be returned, so we know which device(s) were added by the NIDR call.
2007-04-10Input: Add DeleteInputDeviceRequestMagnus Vigerlöf1-0/+12
Add DIDR, which asks the DDX to remove a device, analogous to NewInputDeviceRequest. Only implemented for XFree86 at the moment.
2007-03-29Xi: remove 'register' keywords.Peter Hutterer38-188/+188
2007-03-25Static cleanup on Xi/Adam Jackson14-866/+713
2007-03-25Static cleanups, dead code deletion.Adam Jackson2-3/+2
2006-12-15Convert callers of LookupWindow() to dixLookupWindow().Eamon Walsh7-35/+35
2006-10-29Xi: disallow changing core keyboard and pointerDaniel Stone6-285/+4
Just short-circuit the change core keyboard/pointer requests.
2006-10-22xi: fix NIDR return yet againDaniel Stone1-1/+1
For a one-line function, it was pretty broken.
2006-10-22xi: fix return type for NIDRDaniel Stone1-1/+1
2006-10-22xi: add NewInputDeviceRequest to stubsDaniel Stone1-0/+14
2006-10-22xi: change DEVICE_TOUCHSCREEN to ABS_{AREA_CALIB} for stubsDaniel Stone1-1/+2
2006-10-22Xi: swap control in DevicePresenceNotifyDaniel Stone1-0/+1
2006-10-22dix, Xi: make use of deviceid in DevicePresenceNotifyDaniel Stone1-50/+49
Use the deviceid and control fields in DevicePresenceNotify since the last push to inputproto to send a DPN whenever a control changes on a device.
2006-10-21Merge branch 'input-hotplug' of git+ssh://git.freedesktop.org/git/xorg/xserverZephaniah E. Hull3-0/+52
2006-10-21DEVICE_TOUCHSCREEN becomes DEVICE_ABS_CALIB.Zephaniah E. Hull3-37/+113
Update the DEVICE_ABS_CALIB stuff to include the new elements. New DEVICE_ABS_AREA support. dev->touchscreen becomes dev->absolute, with _CALIB and _AREA stuff in it. Update xfree86 to compile with this, kdrive needs an update too.
2006-10-20xi: add DEVICE_ENABLE controlDaniel Stone3-0/+52
Add DEVICE_ENABLE control, which allows runtime enabling and disabling of specific devices.
2006-10-08Xi: move SendEventToAllWindows and FindInterestedChildren to exeventsDaniel Stone2-45/+44
Move SendEventToAllWindows and FindInterestedChildren from chgptr to exevents, so the DIX can more easily use it. Clean up two warnings (type mismatch, unused variable) in exevents.c.
2006-09-10Typo correction, 'i' is not a '1', so no longer crash on some Xi requests.Zephaniah E. Hull1-1/+1
2006-08-07enable adding devices after removal of a middle deviceDaniel Stone1-4/+7
Allow new devices to be added after a device that _wasn't_ the last on the list was removed, by ensuring inputInfo.numDevices always increases, and never decreases.
2006-07-21be more careful in IVASDaniel Stone1-1/+6
Don't walk off the end of a NULL pointer in InitValuatorAxisStruct.
2006-07-21Xi: add XExtension{Keyboard,Pointer} typesDaniel Stone1-0/+4
Report XExtensionKeyboard for non-core keyboards, and XExtensionPointer for non-core pointers/mice.
2006-07-21Xi: add DevicePresenceNotifyKristian Høgsberg3-15/+85
Add support for DevicePresenceNotify events.
2006-07-21add DEVICE_TOUCHSCREEN and DEVICE_CORE Xi controls (DeviceIntRec ABI break)Daniel Stone4-0/+123
Add DEVICE_TOUCHSCREEN and DEVICE_CORE controls to the Xi code, and the TouchscreenClassRec and a coreEvents flag, to toggle propagation of core events.
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone1-1/+1
Get rid of almost all uses of these definitions. They're still defined for delinquent out-of-tree drivers, and also for the Mesa build. As well as for miinitext.c. But largely gone.
2006-04-09Coverity #323, #445, #446, #447: Fix potential NULL dereferences.Daniel Stone1-0/+18
2006-03-31Reindent with -cbi0.Daniel Stone7-53/+57
2006-02-20indent fixes (OMG SO UGLY), and nuke old RCS keywords.Adam Jackson74-3767/+3024
2006-02-20ANSIfy Xi/. Mostly automated via protoize(1).Adam Jackson38-690/+320
2006-02-15Mark everything in dixsym.c as _X_EXPORT.Adam Jackson2-3/+3
2005-12-02Define XFree86Server only where it is required.Kevin E Martin1-1/+1
2005-11-29Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadableKevin E Martin1-1/+1
module builds to reflect this change.
2005-07-13Only build Xi/stubs.c on DDXs that don't support the Xinput extensionKevin E Martin1-1/+2
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone74-0/+296
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-02Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.Daniel Stone1-0/+2
2005-07-01Adding initial build system.Daniel Stone1-0/+77
2005-04-20Fix includes right throughout the Xserver tree:Daniel Stone38-151/+151
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; change "foo.h", "extensions/foo.h" and "X11/foo.h" to <X11/extensions/foo.h> for extension headers, e.g. Xv.h; change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich74-74/+74
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich74-74/+74
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich74-74/+74
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich74-74/+74
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich74-74/+74
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley38-360/+38
2003-11-14XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley38-412/+628
2003-11-14Initial revisionKaleb Keithley36-0/+2071