mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
xfree86: add option "Floating", deprecate SendCoreEvents and friends.
Some devices should be initialised as floating from the start (e.g. Joysticks and accelerometers benefit from this). Currently users use the "SendCoreEvents" "off" flag for this, which isn't the most appropriate naming. Add an option "Floating", deprecate the others. Still parsed and handled by the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
36b614dedf
commit
8f3fa8fb0b
3 changed files with 33 additions and 19 deletions
|
|
@ -280,7 +280,8 @@ void
|
|||
xf86ProcessCommonOptions(InputInfoPtr pInfo,
|
||||
pointer list)
|
||||
{
|
||||
if (!xf86SetBoolOption(list, "AlwaysCore", 1) ||
|
||||
if (xf86SetBoolOption(list, "Floating", 0) ||
|
||||
!xf86SetBoolOption(list, "AlwaysCore", 1) ||
|
||||
!xf86SetBoolOption(list, "SendCoreEvents", 1) ||
|
||||
!xf86SetBoolOption(list, "CorePointer", 1) ||
|
||||
!xf86SetBoolOption(list, "CoreKeyboard", 1)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue