If we enable a session, any probed device might get immediately enabled. This might cause TakeDevice() messages to be sent before we call TakeControl(). Therefore, enable sessions *after* sending TakeControl() so we always succeed if TakeControl() succeeds.
c600022 terminal: enable sessions in evcat after taking control
src/libsystemd-terminal/evcat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Upstream: github.com