aboutsummaryrefslogtreecommitdiff
path: root/include/sway/layers.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-30 06:41:33 -0700
committerGitHub <noreply@github.com>2018-06-30 06:41:33 -0700
commit792eb6ad402ae76bdc12b267af6bf7abac2b95f9 (patch)
treea4f6056b5cfa80e065f366d20e1d97957d3ee393 /include/sway/layers.h
parentd8c61c976372eedf271f505ffd82c461b6503f6f (diff)
parent9ea4cc13a0cf2d231c4e4c71aa674cd76831e6f9 (diff)
Merge pull request #2174 from martinetd/view-from-surface
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