mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-18 22:26:12 +01:00
parent
404d006a1c
commit
b65a75a6e1
1 changed files with 3 additions and 2 deletions
|
@ -407,8 +407,9 @@ int main(int argc, char *argv[]) {
|
||||||
wl_event_loop_add_fd(state.event_loop, wl_display_get_fd(state.display),
|
wl_event_loop_add_fd(state.event_loop, wl_display_get_fd(state.display),
|
||||||
WL_EVENT_READABLE, display_event, NULL);
|
WL_EVENT_READABLE, display_event, NULL);
|
||||||
|
|
||||||
while (wl_event_loop_dispatch(state.event_loop, 0) != -1) {
|
while (1) {
|
||||||
; //Intentionally left blank;
|
wl_event_loop_dispatch_idle(state.event_loop);
|
||||||
}
|
}
|
||||||
|
|
||||||
sway_terminate(0);
|
sway_terminate(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue