aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-02-22 21:14:28 +0100
committerMarkus Ongyerth <ongy@ongy.net>2018-02-22 21:14:28 +0100
commita7158267511719a7044ac773d455629a1c6458aa (patch)
tree10c637831d78858294fb08fba28b4ddca05f3e8a /include
parent2e7d8862549a786c5aafcbe20db290377e3228ac (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_idle.h4
1 files changed, 3 insertions, 1 deletions
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;
};