This set adds a simple non-dbus alternative for systemd-logind device access protocol to the X server.
The support was implemented to allow running Xorg under a lightweight logind replacement I'm working on, which happens to use this protocol because it is generic enough. It could also allow using a (modified) weston-launch with Xorg, for the same reasons it is used in Weston. These patches are maintained as 3rd party patches currently, applied on top of a regular xorg-server 1.19.6 source release. I'm sending them as RFC, and I would appreciate some feedback as to whether the upstream project would be interested in merging something like this. Alex Suykov (2): xfree86: move systemd-logind ifdefs to call sites xfree86: weston-launch protocol support config/config.c | 5 + config/udev.c | 2 + configure.ac | 15 ++ hw/xfree86/common/xf86Events.c | 5 + hw/xfree86/common/xf86Init.c | 8 + hw/xfree86/common/xf86Xinput.c | 34 ++- hw/xfree86/common/xf86Xinput.h | 2 + hw/xfree86/common/xf86platformBus.c | 4 + hw/xfree86/os-support/linux/Makefile.am | 4 + hw/xfree86/os-support/linux/lnx_platform.c | 53 ++--- hw/xfree86/os-support/linux/weston-launch.c | 316 ++++++++++++++++++++++++++++ include/dix-config.h.in | 3 + include/systemd-logind.h | 7 - include/weston-launch.h | 9 + 14 files changed, 427 insertions(+), 40 deletions(-) create mode 100644 hw/xfree86/os-support/linux/weston-launch.c create mode 100644 include/weston-launch.h -- 2.16.1 _______________________________________________ email@example.com: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel