emersion
e23fe328a6
backend/session/logind: improve logging
6 years ago
emersion
51bfdd620e
Use #if instead of #ifdef for wlroots config data
...
This prevents some annoying issues when e.g. not including wlr/config.h or
making a typo in the guard name.
6 years ago
nyorain
b4d46aa9c2
Use sd_bus_get_property_trivial & remove numbering
7 years ago
nyorain
7b52388424
Rework session handling
...
Sessions can now be retrieved from a backend in a more general manner.
Multi-backend gets back its `session` field that contains the session
if one was created, removing the interfacing from multi backend with the
drm backend directly. This adds the possibility to use sessions even
without the drm backend.
It additionally fixes the bug that 2 session objects got created when
WLR_BACKENDS were set to "libinput,drm".
To allow vt switching without drm backend (and drm fd) on logind, start
listening to PropertiesChanged signals from dbus and parse the session
"Active" property when no master fd was created (this does not change
current drm backend behaviour in any way).
7 years ago
emersion
07ea98dab9
backend/session: add assertions
7 years ago
Drew DeVault
4b096fc114
Revert "Merge pull request #1153 from emersion/include-config"
...
This reverts commit ef0a6ea4d2
, reversing
changes made to 8d03bc9178
.
7 years ago
emersion
41094a7df5
Always include config.h
7 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
7 years ago
Vincent Vanlaer
ece58514b4
Close fd's obtained from logind
7 years ago
Scott Anderson
47985d2dc5
Multiseat fixes
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion
5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
Johannes Schramm
e37ebf6869
style: add comment to empty while loop in logind.c
7 years ago
Johannes Schramm
dcc743047b
style: include brackets for if/while/for, even if it's a single statement
7 years ago
PoroCYon
7574e27c6a
fix build without systemd
7 years ago
Björn Esser
ff13849624
config: Avoid clash with other config-headers
7 years ago
Björn Esser
57a09c8ca4
config: Put all defines into config.h
7 years ago
n3rdopolis
8a2d54c24a
Fix style and string comparison
7 years ago
n3rdopolis
a8d8a63fe0
Attempt to fix #454
...
With logind, only seat0 can use TTYs
7 years ago
Stefano Ragni
f092a37955
Fix typos
7 years ago
dudemanguy
175f89f4ff
Add elogind support
...
Resolves SirCmpwn/wlroots#146
8 years ago
Scott Anderson
d16b2977f6
Remove single GPU assumptions from wlr_session
8 years ago
Scott Anderson
fb93628bda
Merge wlr_udev into wlr_session
8 years ago
Scott Anderson
46823152ea
Rename functions to be consistent with #93
8 years ago
Scott Anderson
cb4d50e22c
Changed header paths.
8 years ago
Scott Anderson
2ae5cd6539
Moved session/ into backend/
8 years ago