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 | |
parent | Add support for linux-dmabuf surface hints (diff) | |
download | sway-57a7b3998ea62616223000eb6369c999b4cd1a94.tar.gz sway-57a7b3998ea62616223000eb6369c999b4cd1a94.tar.zst sway-57a7b3998ea62616223000eb6369c999b4cd1a94.zip |
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')
-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 @@ | |||
5 | #include "list.h" | 5 | #include "list.h" |
6 | #include "pool-buffer.h" | 6 | #include "pool-buffer.h" |
7 | #include "swaynag/types.h" | 7 | #include "swaynag/types.h" |
8 | #include "xdg-output-unstable-v1-client-protocol.h" | ||
9 | 8 | ||
10 | #define SWAYNAG_MAX_HEIGHT 500 | 9 | #define SWAYNAG_MAX_HEIGHT 500 |
11 | 10 | ||
@@ -75,13 +74,11 @@ struct swaynag_details { | |||
75 | 74 | ||
76 | struct swaynag { | 75 | struct swaynag { |
77 | bool run_display; | 76 | bool run_display; |
78 | int querying_outputs; | ||
79 | 77 | ||
80 | struct wl_display *display; | 78 | struct wl_display *display; |
81 | struct wl_compositor *compositor; | 79 | struct wl_compositor *compositor; |
82 | struct wl_seat *seat; | 80 | struct wl_seat *seat; |
83 | struct wl_shm *shm; | 81 | struct wl_shm *shm; |
84 | struct zxdg_output_manager_v1 *xdg_output_manager; | ||
85 | struct wl_list outputs; // swaynag_output::link | 82 | struct wl_list outputs; // swaynag_output::link |
86 | struct wl_list seats; // swaynag_seat::link | 83 | struct wl_list seats; // swaynag_seat::link |
87 | struct swaynag_output *output; | 84 | struct swaynag_output *output; |