chiark / gitweb /
login: lock down input devices on extra seats
[elogind.git] / src / login / multi-seat-x.c
index d0845e7cae2e762e12cb8e1f6aec5b3a67ca6997..7133e026dc2df356c32bf63faefbeca4c26c3ae9 100644 (file)
@@ -139,6 +139,11 @@ int main(int argc, char *argv[]) {
                 "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);