Adam Jackson
dfbe32b5b8
Remove the old Kerberos 5 authentication code.
...
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-04 18:07:00 -04:00
Zephaniah E. Hull
a4f3473c88
Fully init the AbsoluteClassRec in InitAbsoluteClassDeviceStruct.
...
(Specificly, we were missing the screen field.)
2007-06-04 06:39:02 -04:00
Luo Jie
3c982bc1a4
Reinstate an apparently mis-deleted ';' from a for loop with no body.
...
Fixes an error returning "No core keyboard" with multiple keyboards.
2007-05-24 11:30:31 -07:00
Luo Jie
1f48995d66
Fix build of composite, dix, and randr when Xinerama is disabled.
2007-05-24 11:20:59 -07:00
Soren Sandmann Pedersen
dde0ceac4e
Add new InitRegions() function called from dix/main
2007-05-15 11:13:15 -04:00
Peter Hutterer
09436fb7c3
Disable devices before removing, remove unrecoverable devices.
2007-04-24 23:11:44 +09:30
Peter Hutterer
c7e2ba0c9b
Use DevicePresence events to tell the client about enabled/disabled devices.
...
Include the device id in the event sent to the client.
2007-04-24 23:11:44 +09:30
Brian
ce099a9b78
fix bug in which maxKeysPerModifier wasn't getting set
2007-04-23 12:34:01 -06:00
Peter Hutterer
7ccebc50b9
Documentation for events.c.
2007-04-13 13:08:44 +09:30
Magnus Vigerlöf
4f05f9591e
Input: Always add devices with first available ID
...
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-10 23:58:20 +03:00
Magnus Vigerlöf
07c56abf84
Input: Plug memory leak in device free
...
Remember to also free the motion history, if we're using the DIX-managed
history.
2007-04-10 23:58:20 +03:00
Daniel Stone
e92743bc98
getevents: Copy modifier state from extended to core devices
...
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-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
Eamon Walsh
f7c5aa0dc0
Remove dead NEED_DBE_BUF_BITS code.
2007-03-26 10:21:44 -04:00
Adam Jackson
4b5802ddbd
General DIX static and dead code cleanup.
2007-03-25 17:57:54 -04:00
Adam Jackson
9a0f25de7c
Static cleanups, dead code deletion.
2007-03-25 12:27:01 -04:00
Peter Hutterer
ac2356843e
dix: Increase allocation size for core keyboard keymap to avoid buffer overrun when copying keymap from extension devices.
2007-03-25 15:24:47 +09:30
Adam Jackson
021fc5cb2c
Static markup and dead code cull over xkb/.
...
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-20 18:37:02 -04:00
Peter Hutterer
63169ce52d
dix: remove 'register' keyword for all variables.
2007-03-08 17:50:25 +10:30
Eamon Walsh
b5fde366e2
Properly free device devPrivates - memory leak fix.
2007-03-07 12:29:55 -05:00
Eamon Walsh
81526232bc
remove PIXPRIV check as this flag is always set.
2007-03-06 17:19:11 -05:00
Eamon Walsh
a7cd53deb9
remove PIXPRIV checks as this flag is always set.
2007-03-06 17:05:03 -05:00
Ben Byer
81444486be
autoconf goodness for XDarwin, courtesy of pogma
2007-02-17 02:23:11 -08:00
Ben Byer
cf4994b0db
dix mods for Darwin
2007-02-17 01:21:43 -08:00
Peter Hutterer
d570ff7c81
fix: WarpCursor needs to send MotionNotify.
2007-02-15 10:28:55 +10:30
Michel Dänzer
282a4dcaab
Attempt to fix drawable type checks in dixLookupDrawable().
...
Not sure this is 100% correct either, but it fixes at least one reproducible
crasher where it returned a pixmap to dixLookupWindow().
2007-01-08 19:22:41 +01:00
Peter Hutterer
05f915050c
dix/events: take screen number, not pointer, in PostSyntheticMotion
...
Since we were using PostSyntheticMotion incorrectly anyway, update the
declared API to match.
2006-12-27 16:38:06 +00:00
Eamon Walsh
d9e079d2a3
Zero out client devPrivates on allocation.
2006-12-22 13:07:09 -05:00
Eamon Walsh
0128073568
Add loud warnings to deprecated lookup functions.
...
Hopefully this will alert external driver maintainers.
2006-12-15 18:27:16 -05:00
Eamon Walsh
ab1d5b0c31
Convert callers of LookupClient() to dixLookupClient().
2006-12-15 17:26:58 -05:00
Eamon Walsh
25d5e0a629
Convert callers of SecurityLookupWindow() to dixLookupWindow().
2006-12-15 15:50:46 -05:00
Eamon Walsh
00f0705b3b
Remove instances of macros SECURITY_VERIFY_GEOMETRABLE and SECURITY_VERIFY_GC.
2006-12-14 19:15:21 -05:00
Eamon Walsh
5e334f06a1
Remove instances of macros VERIFY_GEOMETRABLE and VERIFY_GC.
2006-12-14 18:27:09 -05:00
Eamon Walsh
51b69ff499
Remove instances of macro SECURITY_VERIFY_DRAWABLE.
2006-12-14 17:53:43 -05:00
Eamon Walsh
ab1886df73
Add new, combined dix lookup functions (tweak).
2006-12-14 15:42:19 -05:00
Eamon Walsh
60cdc592fe
Add new, combined dix lookup functions.
2006-12-14 14:46:03 -05:00
Eamon Walsh
6c46645cfc
Naming change: Security*Access -> Dix*Access
2006-12-14 14:45:42 -05:00
Daniel Stone
0c5dab5c8e
config: move config.h to hotplug.h
...
Also, move configInitialise to after OsInit, since the next commit will
make it use a timer.
2006-12-06 23:24:24 +02:00
Daniel Stone
72e7f2ac6c
GetPointerEvents: always send valuator events for MotionNotify
...
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-06 23:24:24 +02:00
Daniel Stone
c458a70d65
GetPointerEvents: fix typo
...
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-06 23:24:24 +02:00
Daniel Stone
2f0a800ffd
config: move to block/wakeup handler
2006-12-06 23:24:24 +02:00
Daniel Stone
f2903c12bb
SyntheticMotion: don't dereference sprite.screen when not using Xinerama
...
(cherry picked from aa052e43c6c293e14f78837e00c6b7581f9713bb commit)
2006-12-06 23:24:23 +02:00
Eamon Walsh
ac90ce58ba
Naming change: Security*Operation -> Xace*Operation
2006-12-01 21:15:41 -05:00
Eamon Walsh
f44f14fe56
Define calls away when not building XACE, allowing ifdef's to be removed.
2006-12-01 21:15:41 -05:00
Alan Coopersmith
8956f63a94
Tell automake to STFU about the *.O files
...
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-30 19:53:29 -08:00
Eric Anholt
b4b0d901d9
Merge branch 'randr-1.2'
...
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-27 15:43:15 -08:00
Alan Hourihane
33ff4cec5f
Issue CloseDownDevices() in os/log.c and remove from dix/main.c.
...
This ensures that all calls to FatalError() will shutdown the input devices.
2006-11-21 21:23:17 +00:00
Alan Hourihane
c9a5f9d391
Shutdown input devices if FatalError occurs during startup.
...
Fixes Xdmx problems when the input device has been initialized
and the keyboard map has been destroyed.
2006-11-18 19:55:42 +00:00
Jurij Smakov
acb5ff4c73
ffs: handle 0 argument (bug #8968 )
...
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-11 14:13:56 +02:00
Daniel Stone
e7900d68c3
remove trailing whitespace
...
Whitespace police in full effect.
2006-11-08 15:36:47 +02:00