diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2025-02-18 12:38:44 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2025-02-18 12:38:44 -0500 |
| commit | 7633e4f1ad0b9336c661086747013a30d52df25f (patch) | |
| tree | eab72b3a0ece0d45fa63ae4fcc4cfe97e18201ed | |
| parent | 79dbdadf6548314e6f9c2fa424277773a4ad24b6 (diff) | |
output: Expose output_configure_scene to header
| -rw-r--r-- | include/sway/output.h | 3 | ||||
| -rw-r--r-- | sway/desktop/output.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 4584ea45..f6354e0e 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -91,6 +91,9 @@ struct sway_output *output_from_wlr_output(struct wlr_output *output); struct sway_output *output_get_in_direction(struct sway_output *reference, enum wlr_direction direction); +void output_configure_scene(struct sway_output *output, + struct wlr_scene_node *node, float opacity); + void output_add_workspace(struct sway_output *output, struct sway_workspace *workspace); diff --git a/sway/desktop/output.c b/sway/desktop/output.c index d1facdea..d6a18252 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -202,7 +202,7 @@ static enum wlr_scale_filter_mode get_scale_filter(struct sway_output *output, } } -static void output_configure_scene(struct sway_output *output, +void output_configure_scene(struct sway_output *output, struct wlr_scene_node *node, float opacity) { if (!node->enabled) { return; |
