yutani: exit mainloop on session-end
This should probably call a callback, but just exiting the loop is a good start...
This commit is contained in:
parent
64770f3db3
commit
8d7710c064
@ -147,6 +147,7 @@ class AsyncMainloop():
|
||||
if self.menu_closed_callback:
|
||||
self.maybe_coro(self.menu_closed_callback())
|
||||
if msg.msg_type == _yutani2.Message.MSG_SESSION_END:
|
||||
self.exit()
|
||||
return False
|
||||
else if msg.msg_type == _yutani2.Message.MSG_KEY_EVENT:
|
||||
if msg.wid in _windows:
|
||||
|
Loading…
Reference in New Issue
Block a user