mirror of
https://github.com/swaywm/sway.git
synced 2025-03-03 22:24:44 +01:00
output: Expose output_configure_scene to header
This commit is contained in:
parent
10e50e6bf9
commit
38005bd854
2 changed files with 4 additions and 1 deletions
|
@ -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,
|
struct sway_output *output_get_in_direction(struct sway_output *reference,
|
||||||
enum wlr_direction direction);
|
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,
|
void output_add_workspace(struct sway_output *output,
|
||||||
struct sway_workspace *workspace);
|
struct sway_workspace *workspace);
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
struct wlr_scene_node *node, float opacity) {
|
||||||
if (!node->enabled) {
|
if (!node->enabled) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue