Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/pynput/_util/xorg.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,8 @@ def _stop_platform(self):
self.wait()

# Do this asynchronously to avoid deadlocks
self._display_record.record_disable_context(self._context)
self._display_stop.record_disable_context(self._context)
self._display_stop.flush()

def _suppress_start(self, display):
"""Starts suppressing events.
Expand Down