diff options
author | 2018-10-14 16:34:22 +0200 | |
---|---|---|
committer | 2018-10-14 16:34:22 +0200 | |
commit | 53d90dd6a82205a20c3e97a8a396048588e1b5ef (patch) | |
tree | 10f5596fd0d90711af66281c38780c5a1d4d724f /include/swaybar/bar.h | |
parent | Update README.MD (and README.*.md) (diff) | |
parent | Event loop: Fix memmove and remove extraneous declaration (diff) | |
download | sway-53d90dd6a82205a20c3e97a8a396048588e1b5ef.tar.gz sway-53d90dd6a82205a20c3e97a8a396048588e1b5ef.tar.zst sway-53d90dd6a82205a20c3e97a8a396048588e1b5ef.zip |
Merge pull request #2826 from RyanDwyer/common-eventloop
Implement common event loop for swaybar and swaylock
Diffstat (limited to 'include/swaybar/bar.h')
-rw-r--r-- | include/swaybar/bar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index 9ff3fe7b..58e2dee6 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h | |||
@@ -8,6 +8,7 @@ | |||
8 | struct swaybar_config; | 8 | struct swaybar_config; |
9 | struct swaybar_output; | 9 | struct swaybar_output; |
10 | struct swaybar_workspace; | 10 | struct swaybar_workspace; |
11 | struct loop; | ||
11 | 12 | ||
12 | struct swaybar_pointer { | 13 | struct swaybar_pointer { |
13 | struct wl_pointer *pointer; | 14 | struct wl_pointer *pointer; |
@@ -66,6 +67,8 @@ struct swaybar { | |||
66 | struct swaybar_pointer pointer; | 67 | struct swaybar_pointer pointer; |
67 | struct status_line *status; | 68 | struct status_line *status; |
68 | 69 | ||
70 | struct loop *eventloop; | ||
71 | |||
69 | int ipc_event_socketfd; | 72 | int ipc_event_socketfd; |
70 | int ipc_socketfd; | 73 | int ipc_socketfd; |
71 | 74 | ||