xserver/hw/xfree86/common
Lennart Poettering 159b03e137 config: add udev/systemd multi-seat support
Add support for multi-seat-aware input device hotplugging. This
implements the multi-seat scheme explained here:

http://www.freedesktop.org/wiki/Software/systemd/multiseat

This introduces a new X server switch "-seat" which allows configuration
of the seat to enumerate hotplugging devices on. If specified the value
of this parameter will also be exported as root window property
Xorg_Seat.

To properly support input hotplugging devices need to be tagged in udev
according to the seat they are on. Untagged devices are assumed to be on
the default seat "seat0". If no "-seat" parameter is passed only devices
on "seat0" are used. This means that the new scheme is perfectly
compatible with existing setups which have no tagged input devices.

Note that the -seat switch takes a completely generic identifier, and
that it has no effect on non-Linux systems. In fact, on other OSes a
completely different identifier scheme for seats could be used but still
be exposed with the Xorg_Seat and -seat.

I tried to follow the coding style of the surrounding code blocks if
there was any one could follow.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-08-22 15:56:49 +10:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Remove SCO support 2010-12-20 12:11:11 -05:00
compiler.h Remove SCO support 2010-12-20 12:11:11 -05:00
extramodes
fourcc.h
modeline2c.awk
vesamodes
vidmodeproc.h
xf86.h xfree86: Remove xf86EnterServerState 2010-12-20 12:14:32 -05:00
xf86AutoConfig.c config: warning fixes 2010-12-31 12:36:44 +00:00
xf86Build.h.in
xf86Bus.c xfree86: Remove xf86EnterServerState 2010-12-20 12:14:32 -05:00
xf86Bus.h xfree86: bus: remove useless field from EntityRec 2010-05-24 19:17:04 +03:00
xf86Config.c xfree86: use xf86AllocateInput for implicit devices too 2011-08-22 15:56:49 +10:00
xf86Config.h xfree86: "Staticize" functions in xf86AutoConfig.c 2009-07-24 13:25:42 +03:00
xf86Configure.c Terminate the log with one last message. 2011-07-27 09:31:02 +10:00
xf86Cursor.c xfree86: Remove xf86EnterServerState 2010-12-20 12:14:32 -05:00
xf86DGA.c xfree86/dga: Remove DGAIsDgaEvent() 2011-01-27 14:22:03 +10:00
xf86DPMS.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86Events.c input: remove DDX event list handling 2011-05-11 14:27:36 +10:00
xf86Globals.c xfree86: Remove unused xf86inSuspend 2010-12-20 12:09:16 -05:00
xf86Helper.c xf86Helper: use LogHdrMessageVerb in xf86VDrvMsgVerb 2011-08-22 15:56:44 +10:00
xf86InPriv.h xfree86: make xf86ActivateDevice static. 2010-09-01 15:26:47 +10:00
xf86Init.c config: add udev/systemd multi-seat support 2011-08-22 15:56:49 +10:00
xf86Mode.c xf86ValidateModes: xnfalloc(strlen) + strcpy => xnfstrdup 2010-11-30 16:25:10 -08:00
xf86Module.h xserver: remove AbsoluteClass, breaking the A(P|B)I 2011-05-25 08:23:58 +10:00
xf86Opt.h xfree86: add xf86OptionListDuplicate() 2010-09-18 13:55:37 +02:00
xf86Option.c xfree86: NULL option values are technically valid, don't strdup them 2011-07-27 09:31:02 +10:00
xf86PM.c xfree86: Remove xf86EnterServerState 2010-12-20 12:14:32 -05:00
xf86PciInfo.h
xf86Priv.h Terminate the log with one last message. 2011-07-27 09:31:02 +10:00
xf86Privstr.h xfree86: rename allowEmptyInput to forceInputDevices. 2010-11-12 11:49:48 +10:00
xf86RandR.c xfree86: replace two inputInfo.pointer uses with device loops. 2011-02-22 14:35:44 +10:00
xf86ShowOpts.c Terminate the log with one last message. 2011-07-27 09:31:02 +10:00
xf86VGAarbiter.c Revert "dix: Remove usage_hint from pixmaps, store it in ->drawable.class" 2011-03-17 23:48:52 -07:00
xf86VGAarbiter.h xfree86: vgaarb: fix device decoding interface to send resources type properly 2010-08-26 18:17:12 +03:00
xf86VGAarbiterPriv.h Revert "dix: Remove usage_hint from pixmaps, store it in ->drawable.class" 2011-03-17 23:48:52 -07:00
xf86VidMode.c xf86vidmode: warning fix 2011-02-08 12:40:14 -05:00
xf86Xinput.c xfree86: Remove devices that failed to enable on startup 2011-07-27 09:31:01 +10:00
xf86Xinput.h xfree86: use xf86AllocateInput() for xorg.conf devices too. 2010-12-07 11:37:31 +10:00
xf86cmap.c Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-07-13 09:58:04 -07:00
xf86cmap.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86fbBus.c xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
xf86fbman.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86fbman.h
xf86noBus.c xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
xf86pciBus.c Convert alloc+sprintf pairs into asprintf() & XNFasprintf() calls 2010-12-07 11:10:35 -08:00
xf86pciBus.h xfree86: configure: move buses references to their own location 2010-09-14 18:51:59 +03:00
xf86sbusBus.c xfree86: Fix undefined reference to `XNFsprintf' on sparc. 2011-02-23 14:44:23 +01:00
xf86sbusBus.h xfree86: configure: move buses references to their own location 2010-09-14 18:51:59 +03:00
xf86str.h xfree86: Remove xf86EnterServerState 2010-12-20 12:14:32 -05:00
xf86xv.c xfree86: xv: set pointers to NULL in xf86XVFreeAdaptor 2011-04-07 19:57:08 +03:00
xf86xv.h xf86/xv: Fill color key on expose 2011-02-03 14:38:10 +02:00
xf86xvmc.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86xvmc.h
xf86xvpriv.h xf86/xv: Use PostValidateTree to do reput 2011-02-03 14:38:36 +02:00
xisb.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xisb.h
xorgHelper.c
xorgVersion.h