xephyr: Don't check for SeatId anymore

After a change for the xserver to automatically determine the seat
based on the XDG_SEAT variable, xephyr stopped working. This was
because of an old feature where xephyr used to handle evdev
directly. This was dropped some time ago, and now this check is
not needed

(cherry picked from commit 4c03b67d33)
This commit is contained in:
nerdopolis 2022-01-11 18:41:42 -05:00 committed by Matt Turner
parent 6197bea02e
commit c1ad8df2fc

View File

@ -70,7 +70,6 @@ InitInput(int argc, char **argv)
KdKeyboardInfo *ki; KdKeyboardInfo *ki;
KdPointerInfo *pi; KdPointerInfo *pi;
if (!SeatId) {
KdAddKeyboardDriver(&EphyrKeyboardDriver); KdAddKeyboardDriver(&EphyrKeyboardDriver);
KdAddPointerDriver(&EphyrMouseDriver); KdAddPointerDriver(&EphyrMouseDriver);
@ -89,7 +88,6 @@ InitInput(int argc, char **argv)
pi->driver = &EphyrMouseDriver; pi->driver = &EphyrMouseDriver;
KdAddPointer(pi); KdAddPointer(pi);
} }
}
KdInitInput(); KdInitInput();
} }