diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-06-30 14:00:24 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-06-30 22:31:14 +0900 |
commit | 9ea4cc13a0cf2d231c4e4c71aa674cd76831e6f9 (patch) | |
tree | a4f6056b5cfa80e065f366d20e1d97957d3ee393 /include/sway/layers.h | |
parent | Merge pull request #2072 from RyanDwyer/atomic (diff) | |
download | sway-9ea4cc13a0cf2d231c4e4c71aa674cd76831e6f9.tar.gz sway-9ea4cc13a0cf2d231c4e4c71aa674cd76831e6f9.tar.zst sway-9ea4cc13a0cf2d231c4e4c71aa674cd76831e6f9.zip |
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.h | 3 |
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 { | |||
22 | struct sway_output; | 22 | struct sway_output; |
23 | void arrange_layers(struct sway_output *output); | 23 | void arrange_layers(struct sway_output *output); |
24 | 24 | ||
25 | struct sway_layer_surface *layer_from_wlr_layer_surface( | ||
26 | struct wlr_layer_surface *layer_surface); | ||
27 | |||
25 | #endif | 28 | #endif |