aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-12-13 18:33:32 +0100
committerLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2021-12-13 20:17:20 -0600
commit57a7b3998ea62616223000eb6369c999b4cd1a94 (patch)
treeb008d40847ea177b20120d53c1d923638906e52f /include
parentAdd support for linux-dmabuf surface hints (diff)
downloadsway-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.h3
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
76struct swaynag { 75struct 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;