aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaynag/swaynag.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaynag/swaynag.h')
-rw-r--r--include/swaynag/swaynag.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/swaynag/swaynag.h b/include/swaynag/swaynag.h
index 9e39e716..2d68b6c9 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
@@ -68,20 +67,18 @@ struct swaynag_details {
68 int offset; 67 int offset;
69 int visible_lines; 68 int visible_lines;
70 int total_lines; 69 int total_lines;
71 struct swaynag_button *button_details; 70 struct swaynag_button button_details;
72 struct swaynag_button button_up; 71 struct swaynag_button button_up;
73 struct swaynag_button button_down; 72 struct swaynag_button button_down;
74}; 73};
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;