aboutsummaryrefslogtreecommitdiff
path: root/examples/idle-inhibit.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-05 15:04:49 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-05 15:04:49 -0400
commit6710de9878a07a185d28f9cec71e3f1b3d3407ab (patch)
treedec44173de7b133fbac0230ac2530af4c4ff0bc7 /examples/idle-inhibit.c
parent41fccb8507bcc1b18cff0c785c5697f9f0bdceda (diff)
parent19b576734e75d65ed6e28b13131f20f6444cba48 (diff)
Merge branch 'master' into xwayland-dnd
Diffstat (limited to 'examples/idle-inhibit.c')
-rw-r--r--examples/idle-inhibit.c7
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,