mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 14:15:41 +00:00
Q key not used to exit
This commit is contained in:
@@ -83,8 +83,6 @@ class TouchScreen(pykka.ThreadingActor, core.CoreListener):
|
||||
for event in pygame.event.get():
|
||||
if event.type == pygame.QUIT:
|
||||
os.system("pkill mopidy")
|
||||
elif event.type == pygame.KEYUP and event.key == pygame.K_q:
|
||||
os.system("pkill mopidy")
|
||||
elif event.type == pygame.VIDEORESIZE:
|
||||
self.get_display_surface(event.size)
|
||||
self.screen_manager.resize(event)
|
||||
|
||||
Reference in New Issue
Block a user