From a7158267511719a7044ac773d455629a1c6458aa Mon Sep 17 00:00:00 2001 From: Markus Ongyerth Date: Thu, 22 Feb 2018 21:14:28 +0100 Subject: move activity_notify into events in wlr_idle This moves the `struct wl_signal activity_notify` in `struct wlr_idle` into a local `struct {} events` to keep consistency with other modules in the library. --- include/wlr/types/wlr_idle.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_idle.h b/include/wlr/types/wlr_idle.h index 689c33a4..1744f07c 100644 --- a/include/wlr/types/wlr_idle.h +++ b/include/wlr/types/wlr_idle.h @@ -19,7 +19,9 @@ struct wlr_idle { struct wl_event_loop *event_loop; struct wl_listener display_destroy; - struct wl_signal activity_notify; + struct { + struct wl_signal activity_notify; + } events; void *data; }; -- cgit v1.2.3