mirror of
https://github.com/swaywm/sway.git
synced 2025-11-22 06:59:48 -05:00
launcher: initialize launcher_ctxs once on startup
This commit is contained in:
parent
864b3a9a18
commit
66568508c0
5 changed files with 13 additions and 12 deletions
|
|
@ -23,6 +23,6 @@ void launcher_ctx_consume(struct launcher_ctx *ctx);
|
|||
|
||||
void launcher_ctx_destroy(struct launcher_ctx *ctx);
|
||||
|
||||
void launcher_ctx_create(pid_t pid);
|
||||
struct launcher_ctx *launcher_ctx_create(pid_t pid);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ struct sway_server {
|
|||
struct wlr_xdg_activation_v1 *xdg_activation_v1;
|
||||
struct wl_listener xdg_activation_v1_request_activate;
|
||||
|
||||
struct wl_list pending_launcher_ctxs; // launcher_ctx::link
|
||||
|
||||
// The timeout for transactions, after which a transaction is applied
|
||||
// regardless of readiness.
|
||||
size_t txn_timeout_ms;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue