Skip to content

Commit 63b51eb

Browse files
authored
core: discard_command_output needs to be initialized before plugins (#1998)
so that autostart commands pick it up.
1 parent 9f92df3 commit 63b51eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/core/core.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ void wf::compositor_core_impl_t::init()
198198

199199
void wf::compositor_core_impl_t::post_init()
200200
{
201+
discard_command_output.load_option("workarounds/discard_command_output");
202+
201203
core_backend_started_signal backend_started_ev;
202204
this->emit(&backend_started_ev);
203205
this->state = compositor_state_t::RUNNING;
@@ -215,9 +217,6 @@ void wf::compositor_core_impl_t::post_init()
215217

216218
// Start processing cursor events
217219
seat->priv->cursor->setup_listeners();
218-
219-
discard_command_output.load_option("workarounds/discard_command_output");
220-
221220
core_startup_finished_signal startup_ev;
222221
this->emit(&startup_ev);
223222
}

0 commit comments

Comments
 (0)