aboutsummaryrefslogtreecommitdiff
path: root/include/swaynag
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaynag')
-rw-r--r--include/swaynag/swaynag.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/swaynag/swaynag.h b/include/swaynag/swaynag.h
index 0fd1eb50..496e883a 100644
--- a/include/swaynag/swaynag.h
+++ b/include/swaynag/swaynag.h
@@ -27,6 +27,14 @@ struct swaynag_pointer {
int y;
};
+struct swaynag_seat {
+ struct wl_seat *wl_seat;
+ uint32_t wl_name;
+ struct swaynag *swaynag;
+ struct swaynag_pointer pointer;
+ struct wl_list link;
+};
+
struct swaynag_output {
char *name;
struct wl_output *wl_output;
@@ -72,9 +80,9 @@ struct swaynag {
struct wl_compositor *compositor;
struct wl_seat *seat;
struct wl_shm *shm;
- struct swaynag_pointer pointer;
struct zxdg_output_manager_v1 *xdg_output_manager;
struct wl_list outputs; // swaynag_output::link
+ struct wl_list seats; // swaynag_seat::link
struct swaynag_output *output;
struct zwlr_layer_shell_v1 *layer_shell;
struct zwlr_layer_surface_v1 *layer_surface;