From 58149c38673039b088b54daf6d0177bd0009f27a Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Sun, 21 Feb 2021 00:26:32 +0200 Subject: [PATCH] [#18] Prevent screen windows from handling queued events that are not their own. --- zx/_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zx/_gui.py b/zx/_gui.py index 17992af..8e1f00d 100644 --- a/zx/_gui.py +++ b/zx/_gui.py @@ -438,7 +438,7 @@ def _on_quantum_run(self, event, devices): Gtk.main_iteration() while self.__events: - devices.notify(self.__events.pop(0)) + self.on_event(self.__events.pop(0), devices, None) def __toggle_pause(self, devices): devices.notify(ToggleEmulationPause())