diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-08-02 21:40:32 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-02 21:46:13 +0200 |
commit | b2cbe576d10d992116bcaae245247c862cc5395a (patch) | |
tree | 7d496804e35f508b34d15f58380109aaae114ccd /include/client.h | |
parent | 5b4d00d6cff955a31a2179d613dcaa3ade327d28 (diff) |
seat: Deactivate devices before sending disable
Previously, seatd would not deactivate devices until the client had
acked the disable. In once instance, this lead to libinput spending
significant time checking and closing each input device.
As a workaround, mimick logind's behavior of deactivating devices first.
The original behavior can be reintroduced if the client-side problem is
fixed.
Closes: https://todo.sr.ht/~kennylevinsen/seatd/5
Diffstat (limited to 'include/client.h')
-rw-r--r-- | include/client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/client.h b/include/client.h index 6084980..5046690 100644 --- a/include/client.h +++ b/include/client.h @@ -21,6 +21,7 @@ struct client { struct seat *seat; int seat_vt; + bool pending_disable; struct list devices; }; |