chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
path-lookup: rearrange things so that the system path order follows the user path...
[elogind.git]
/
src
/
login
/
multi-seat-x.c
diff --git
a/src/login/multi-seat-x.c
b/src/login/multi-seat-x.c
index 7a5d3b16e730d9d8b22f5419a23a9dd08f3780aa..7133e026dc2df356c32bf63faefbeca4c26c3ae9 100644
(file)
--- a/
src/login/multi-seat-x.c
+++ b/
src/login/multi-seat-x.c
@@
-92,7
+92,7
@@
int main(int argc, char *argv[]) {
dn = udev_device_get_devnode(d);
dn = udev_device_get_devnode(d);
- if (
!
dn) {
+ if (dn) {
device_node = strdup(dn);
if (!device_node) {
udev_device_unref(d);
device_node = strdup(dn);
if (!device_node) {
udev_device_unref(d);
@@
-139,6
+139,11
@@
int main(int argc, char *argv[]) {
"Section \"ServerFlags\"\n"
" Option \"AutoAddDevices\" \"True\"\n"
" Option \"AllowEmptyInput\" \"True\"\n"
"Section \"ServerFlags\"\n"
" Option \"AutoAddDevices\" \"True\"\n"
" Option \"AllowEmptyInput\" \"True\"\n"
+ " Option \"DontVTSwitch\" \"True\"\n"
+ "EndSection\n"
+ "Section \"InputClass\"\n"
+ " Identifier \"Force Input Devices to Seat\"\n"
+ " Option \"GrabDevice\" \"True\"\n"
"EndSection\n",
device_node);
"EndSection\n",
device_node);