aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-09-21 00:51:14 +0200
committerSimon Ser <contact@emersion.fr>2024-09-29 17:27:06 +0200
commit4aa71ca661e0cac3927ca1d42d968b8b3f9b4225 (patch)
treef5a90af26f4b39000e507ac78080e9f99f3ad44d /include
parent952c428482682122603e19a0d5a695572d9e54df (diff)
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. (cherry picked from commit b73f54a966a30c2253818b89fefda16477531c14)
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h2
1 files changed, 2 insertions, 0 deletions
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);