bugfix: keyboard input was causing the application to crash.

This commit is contained in:
Naman Agrawal
2025-08-22 18:17:53 +05:30
parent e98d52a57f
commit e1fcc70667
6 changed files with 47 additions and 40 deletions
+1 -2
View File
@@ -60,11 +60,10 @@ pub fn runner(mut app: App, mut event_loop: EventLoop<'_, WaylandState>) -> AppE
let mut state = WaylandState(app);
loop {
// TODO: Error handling
let _ = event_loop.dispatch(None, &mut state);
if state.plugins_state() == PluginsState::Cleaned {
state.update();
}
let _ = event_loop.dispatch(None, &mut state);
}
}