From 9ea4cc13a0cf2d231c4e4c71aa674cd76831e6f9 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Sat, 30 Jun 2018 14:00:24 +0900 Subject: sway views: add helpers to get view and layer from wlr_surface --- include/sway/layers.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/sway/layers.h') 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 -- cgit v1.2.3