diff options
Diffstat (limited to 'examples/idle-inhibit.c')
-rw-r--r-- | examples/idle-inhibit.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/idle-inhibit.c b/examples/idle-inhibit.c index c09e6507..348892ab 100644 --- a/examples/idle-inhibit.c +++ b/examples/idle-inhibit.c @@ -55,10 +55,8 @@ static void pointer_handle_button(void *data, struct wl_pointer *pointer, uint32 zwp_idle_inhibitor_v1_destroy(idle_inhibitor); idle_inhibitor = NULL; } else { - idle_inhibitor = - zwp_idle_inhibit_manager_v1_create_inhibitor( - idle_inhibit_manager, - surface); + idle_inhibitor = zwp_idle_inhibit_manager_v1_create_inhibitor( + idle_inhibit_manager, surface); } } @@ -140,7 +138,6 @@ static void xdg_toplevel_handle_close(void *data, exit(EXIT_SUCCESS); } - static const struct xdg_toplevel_listener xdg_toplevel_listener = { .configure = xdg_toplevel_handle_configure, .close = xdg_toplevel_handle_close, |