From 67b6ce0f4bc394b371424e8504d873207b831105 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Sat, 21 Sep 2024 00:51:14 +0200 Subject: desktop/output: Expose request_modeset We remove the struct sway_server argument for consistency with the rest of our internal APIs which rely on the global server instance. --- include/sway/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sway/config.h b/include/sway/config.h index 3cd59722..71721393 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -704,6 +704,8 @@ struct output_config *find_output_config(struct sway_output *output); void free_output_config(struct output_config *oc); +void request_modeset(void); + bool spawn_swaybg(void); int workspace_output_cmp_workspace(const void *a, const void *b); -- cgit v1.2.3