diff options
author | Simon Ser <contact@emersion.fr> | 2021-12-13 18:33:32 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-12-13 20:17:20 -0600 |
commit | 57a7b3998ea62616223000eb6369c999b4cd1a94 (patch) | |
tree | b008d40847ea177b20120d53c1d923638906e52f /include/swaynag/swaynag.h | |
parent | 4732325f591455f1e4bdcb35652505a8a636663a (diff) |
swaynag: remove xdg-output logic
We can just get the output name from wl_output directly, now that
wl_output version 4 exists.
Diffstat (limited to 'include/swaynag/swaynag.h')
-rw-r--r-- | include/swaynag/swaynag.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/swaynag/swaynag.h b/include/swaynag/swaynag.h index 9e39e716..baa6ee8b 100644 --- a/include/swaynag/swaynag.h +++ b/include/swaynag/swaynag.h @@ -5,7 +5,6 @@ #include "list.h" #include "pool-buffer.h" #include "swaynag/types.h" -#include "xdg-output-unstable-v1-client-protocol.h" #define SWAYNAG_MAX_HEIGHT 500 @@ -75,13 +74,11 @@ struct swaynag_details { struct swaynag { bool run_display; - int querying_outputs; struct wl_display *display; struct wl_compositor *compositor; struct wl_seat *seat; struct wl_shm *shm; - 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; |