aboutsummaryrefslogtreecommitdiff
path: root/src/ipc
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-04-19 10:49:46 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-04-19 10:49:46 +0400
commit914237fa1149a022d8e012ce5a0aa1107c4906fc (patch)
tree9daa27be7c7d8f00d6e863c686ef6b4161c2a244 /src/ipc
parent0b93c46ce80acbca086f3d9588e5ec83a48f2745 (diff)
downloadniri-914237fa1149a022d8e012ce5a0aa1107c4906fc.tar.gz
niri-914237fa1149a022d8e012ce5a0aa1107c4906fc.tar.bz2
niri-914237fa1149a022d8e012ce5a0aa1107c4906fc.zip
Add allow-when-locked=true spawn bind property
Diffstat (limited to 'src/ipc')
-rw-r--r--src/ipc/server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/server.rs b/src/ipc/server.rs
index 38a9b3dd..528da716 100644
--- a/src/ipc/server.rs
+++ b/src/ipc/server.rs
@@ -156,7 +156,7 @@ fn process(ctx: &ClientCtx, buf: &str) -> anyhow::Result<Response> {
Request::Action(action) => {
let action = niri_config::Action::from(action);
ctx.event_loop.insert_idle(move |state| {
- state.do_action(action);
+ state.do_action(action, false);
});
Response::Handled
}