aboutsummaryrefslogtreecommitdiff
path: root/include/sway/layers.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-14 21:12:56 -0400
committerGitHub <noreply@github.com>2018-09-14 21:12:56 -0400
commitb47f4f5fd4b8dc3852c5958f3e6ec70de448ff2d (patch)
tree90b2a21c3a1cf5e0cdb8ef720081e7acfce64eee /include/sway/layers.h
parent3b92d5bb6dcaf6b8fa9b51d9cf879e68d67ee1fb (diff)
parent64d567be9b4a1341bca165f02354e077a2f112fb (diff)
Merge pull request #2630 from emersion/wlroots-1243
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