aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/desktop/launcher.h
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <ronan@rjp.ie>2022-11-16 15:50:34 -0700
committerLibravatar Simon Ser <contact@emersion.fr>2022-11-26 10:29:59 +0100
commitee9266cf8c8d1d445a52b07160e54411ec949b2f (patch)
tree63171013e54905fa72af3a35cb1e0bb6a8aa62eb /include/sway/desktop/launcher.h
parentlauncher: initialize launcher_ctxs once on startup (diff)
downloadsway-ee9266cf8c8d1d445a52b07160e54411ec949b2f.tar.gz
sway-ee9266cf8c8d1d445a52b07160e54411ec949b2f.tar.zst
sway-ee9266cf8c8d1d445a52b07160e54411ec949b2f.zip
launcher: fudge the interface a bit
We want to create a context before knowing the pid it will match with. (cherry picked from commit bdeb9f95651f6c99cc2f4cfb59020ddee202cf36)
Diffstat (limited to 'include/sway/desktop/launcher.h')
-rw-r--r--include/sway/desktop/launcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/desktop/launcher.h b/include/sway/desktop/launcher.h
index 09b27eb9..91915604 100644
--- a/include/sway/desktop/launcher.h
+++ b/include/sway/desktop/launcher.h
@@ -23,6 +23,6 @@ void launcher_ctx_consume(struct launcher_ctx *ctx);
23 23
24void launcher_ctx_destroy(struct launcher_ctx *ctx); 24void launcher_ctx_destroy(struct launcher_ctx *ctx);
25 25
26struct launcher_ctx *launcher_ctx_create(pid_t pid); 26struct launcher_ctx *launcher_ctx_create(void);
27 27
28#endif 28#endif