summaryrefslogtreecommitdiff
path: root/include/sway/layers.h
diff options
context:
space:
mode:
authorDominique Martinet <[email protected]>2018-06-30 14:00:24 +0900
committerDominique Martinet <[email protected]>2018-06-30 22:31:14 +0900
commit9ea4cc13a0cf2d231c4e4c71aa674cd76831e6f9 (patch)
treea4f6056b5cfa80e065f366d20e1d97957d3ee393 /include/sway/layers.h
parentd8c61c976372eedf271f505ffd82c461b6503f6f (diff)
sway views: add helpers to get view and layer from wlr_surface
Diffstat (limited to 'include/sway/layers.h')
-rw-r--r--include/sway/layers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/layers.h b/include/sway/layers.h
index ee47c5ad..96155eae 100644
--- a/include/sway/layers.h
+++ b/include/sway/layers.h
@@ -22,4 +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);
+
#endif