summaryrefslogtreecommitdiff
path: root/include/sway/layers.h
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-09-14 19:21:44 +0200
committeremersion <[email protected]>2018-09-14 19:21:44 +0200
commit7699c5444c32289a22ce2c57d1daadabed87e7ac (patch)
tree74696e6dd2f405e8629061ee010e14e3d6cf0b37 /include/sway/layers.h
parent5f9be1e1aaeaa58879d5979ced4bc29f90c6024a (diff)
Update for swaywm/wlroots#1243
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