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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/swaynag/swaynag.h b/include/swaynag/swaynag.h
index 2d68b6c9..fb9e9c21 100644
--- a/include/swaynag/swaynag.h
+++ b/include/swaynag/swaynag.h
@@ -4,6 +4,8 @@
4#include <strings.h> 4#include <strings.h>
5#include "list.h" 5#include "list.h"
6#include "pool-buffer.h" 6#include "pool-buffer.h"
7#include "cursor-shape-v1-client-protocol.h"
8
7#include "swaynag/types.h" 9#include "swaynag/types.h"
8 10
9#define SWAYNAG_MAX_HEIGHT 500 11#define SWAYNAG_MAX_HEIGHT 500
@@ -58,6 +60,7 @@ struct swaynag_button {
58struct swaynag_details { 60struct swaynag_details {
59 bool visible; 61 bool visible;
60 char *message; 62 char *message;
63 char *details_text;
61 64
62 int x; 65 int x;
63 int y; 66 int y;
@@ -67,7 +70,7 @@ struct swaynag_details {
67 int offset; 70 int offset;
68 int visible_lines; 71 int visible_lines;
69 int total_lines; 72 int total_lines;
70 struct swaynag_button button_details; 73 struct swaynag_button *button_details;
71 struct swaynag_button button_up; 74 struct swaynag_button button_up;
72 struct swaynag_button button_down; 75 struct swaynag_button button_down;
73}; 76};
@@ -84,6 +87,7 @@ struct swaynag {
84 struct swaynag_output *output; 87 struct swaynag_output *output;
85 struct zwlr_layer_shell_v1 *layer_shell; 88 struct zwlr_layer_shell_v1 *layer_shell;
86 struct zwlr_layer_surface_v1 *layer_surface; 89 struct zwlr_layer_surface_v1 *layer_surface;
90 struct wp_cursor_shape_manager_v1 *cursor_shape_manager;
87 struct wl_surface *surface; 91 struct wl_surface *surface;
88 92
89 uint32_t width; 93 uint32_t width;