swaybar: add multiseat support

This just adds multiseat support to swaybar
This commit is contained in:
Brian Ashworth 2019-04-23 23:40:00 -04:00
parent b6e55064fe
commit 142af76e24
4 changed files with 131 additions and 57 deletions

View file

@ -30,11 +30,8 @@ struct swaybar {
struct zwlr_layer_shell_v1 *layer_shell;
struct zxdg_output_manager_v1 *xdg_output_manager;
struct wl_shm *shm;
struct wl_seat *seat;
struct swaybar_config *config;
struct swaybar_pointer pointer;
struct swaybar_touch touch;
struct status_line *status;
struct loop *eventloop;
@ -43,6 +40,7 @@ struct swaybar {
int ipc_socketfd;
struct wl_list outputs; // swaybar_output::link
struct wl_list seats; // swaybar_seat::link
#if HAVE_TRAY
struct swaybar_tray *tray;