Commit Graph

27 Commits

Author SHA1 Message Date
Tony Crisci 5eeb067838 Correctly get session path
The old way of getting the session path was to simply append the session id to
the path "/org/freedesktop/login1/session/". However this is not the correct
path for newer systems like Fedora 26.

Instead, get the session path directly from the session manager from the id via
a dbus call to GetSession().

fixes #35
2017-07-29 08:16:14 -04:00
Drew DeVault b08aa9fd35 Revert "Merge pull request #27 from ascent12/meson"
This reverts commit 85805da021, reversing
changes made to 8189c64d7f.
2017-07-11 22:16:56 -04:00
Scott Anderson a2ba226ba3 Use subdir 2017-07-11 09:56:54 +12:00
Scott Anderson 924bf0f669 Changed build system to meson 2017-07-11 00:28:56 +12:00
Scott Anderson 8189c64d7f Fixed that warnings that showed up with optimisations. 2017-07-11 00:14:55 +12:00
Scott Anderson 3779ef802d Stop remembering the drm fd in child. 2017-07-09 22:23:54 +12:00
Scott Anderson 2f2c8205d8 Moved IPC to its own file. 2017-07-09 22:12:50 +12:00
Scott Anderson bd5bca5283 Added public fields to wlr_session 2017-07-09 17:53:13 +12:00
Scott Anderson f413a67bb1 Removed KDSKBMUTE. This actually isn't supported by Linux. 2017-07-09 13:34:33 +12:00
Scott Anderson 2c27ed1393 include fixes 2017-07-04 12:50:54 +12:00
Scott Anderson dd40a42a99 Make libcap optional. 2017-07-04 00:29:03 +12:00
Scott Anderson 5c211e6195 Added forking 2017-07-04 00:15:09 +12:00
Scott Anderson c2b54be74a Minor fixes 2017-07-03 19:56:14 +12:00
Scott Anderson 60955addc0 Added direct session support 2017-07-03 14:46:20 +12:00
Drew DeVault f4453d104d Reorganize wlr-common 2017-06-21 12:10:07 -04:00
Scott Anderson fa6b3b290c Removed excessive debug logging 2017-06-21 13:33:31 +12:00
Scott Anderson 091de12bf4 Changed session signal to only emit on DRM changes 2017-06-21 12:47:53 +12:00
Drew DeVault 1262f1400c Initial pass on libinput backend 2017-06-13 08:10:22 -04:00
Drew DeVault 7d82476590 Refactor type implementations 2017-06-04 19:30:50 -04:00
Scott Anderson f9d363fece Added device matching 2017-05-14 13:07:34 +12:00
Scott Anderson ce8786721b Got it working. 2017-05-14 12:42:49 +12:00
Scott Anderson 058b8bdf27 Working commit 2017-05-14 12:42:49 +12:00
Scott Anderson c88f252580 Initial D-Bus signal support. 2017-05-14 12:40:17 +12:00
Scott Anderson 0002b8dd08 Added 'direct' session backend 2017-05-03 19:26:43 +12:00
Scott Anderson dbceaee9fa Added EGL interface for backends. 2017-05-03 17:04:41 +12:00
Scott Anderson 81998fdc98 Removed old session code from DRM backend. 2017-05-03 16:23:07 +12:00
Scott Anderson 762ac7f4c0 New session interface. 2017-05-03 14:11:22 +12:00