output: factor out output_set_has_fullscreen_view()

This commit is contained in:
John Lindgren 2025-11-08 09:40:26 -05:00 committed by Consolatis
parent 6de18b9afd
commit 87da3f6588
4 changed files with 25 additions and 23 deletions

View file

@ -69,4 +69,13 @@ void handle_output_power_manager_set_mode(struct wl_listener *listener,
void *data);
void output_enable_adaptive_sync(struct output *output, bool enabled);
/**
* Notifies whether a fullscreen view is displayed on the given output.
* Depending on user config, this may enable/disable adaptive sync.
*
* Does nothing if output is NULL or disabled.
*/
void output_set_has_fullscreen_view(struct output *output,
bool has_fullscreen_view);
#endif // LABWC_OUTPUT_H