mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Actually fix swayidle
I also didn't test this commit though so who knows
This commit is contained in:
parent
b65a75a6e1
commit
270c1ee7e5
1 changed files with 2 additions and 2 deletions
|
@ -407,8 +407,8 @@ 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 (1) {
|
while (wl_event_loop_dispatch(state.event_loop, -1) != 1) {
|
||||||
wl_event_loop_dispatch_idle(state.event_loop);
|
// This space intentionally left blank
|
||||||
}
|
}
|
||||||
|
|
||||||
sway_terminate(0);
|
sway_terminate(0);
|
||||||
|
|
Loading…
Reference in a new issue