diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-30 21:38:28 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-30 22:44:08 -0400 |
commit | 8d1425bde9e7f17a5a9e6bce73dffcf296dad6a1 (patch) | |
tree | 803cc6a902f5d595e2dbcb3897e0633ccf5aa2fa /include/swaybar | |
parent | 4b0fcde7781ec61d7d5035775a942112b70391a4 (diff) |
Initialize seat pointer in swaybar
Diffstat (limited to 'include/swaybar')
-rw-r--r-- | include/swaybar/bar.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index 1bf2ea2d..0768a683 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h @@ -8,14 +8,24 @@ struct swaybar_config; struct swaybar_output; struct swaybar_workspace; +struct swaybar_pointer { + struct wl_pointer *pointer; + struct wl_cursor_theme *cursor_theme; + struct wl_cursor_image *cursor_image; + struct wl_surface *cursor_surface; + struct swaybar_output *current; +}; + struct swaybar { struct wl_display *display; struct wl_compositor *compositor; struct zwlr_layer_shell_v1 *layer_shell; struct wl_shm *shm; + struct wl_seat *seat; struct swaybar_config *config; struct swaybar_output *focused_output; + struct swaybar_pointer pointer; struct status_line *status; int ipc_event_socketfd; |