aboutsummaryrefslogtreecommitdiff
path: root/include/sway/layers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/layers.h')
-rw-r--r--include/sway/layers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sway/layers.h b/include/sway/layers.h
index 96155eae..51878fc9 100644
--- a/include/sway/layers.h
+++ b/include/sway/layers.h
@@ -3,10 +3,10 @@
#include <stdbool.h>
#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_surface.h>
-#include <wlr/types/wlr_layer_shell.h>
+#include <wlr/types/wlr_layer_shell_v1.h>
struct sway_layer_surface {
- struct wlr_layer_surface *layer_surface;
+ struct wlr_layer_surface_v1 *layer_surface;
struct wl_list link;
struct wl_listener destroy;
@@ -22,7 +22,7 @@ struct sway_layer_surface {
struct sway_output;
void arrange_layers(struct sway_output *output);
-struct sway_layer_surface *layer_from_wlr_layer_surface(
- struct wlr_layer_surface *layer_surface);
+struct sway_layer_surface *layer_from_wlr_layer_surface_v1(
+ struct wlr_layer_surface_v1 *layer_surface);
#endif