Skip to content

Commit

Permalink
fsp: Fix signal (#216)
Browse files Browse the repository at this point in the history
This was changed in wayfire.
  • Loading branch information
soreau authored Dec 6, 2023
1 parent e2e6c6e commit f87b07d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/focus-steal-prevent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class wayfire_focus_steal_prevent : public wf::per_output_plugin_instance_t
wf::get_core().emit(&hints_signal);
}

output->connect(&pre_view_focused);
wf::get_core().connect(&pre_view_focused);
}
};

Expand All @@ -256,7 +256,7 @@ class wayfire_focus_steal_prevent : public wf::per_output_plugin_instance_t
void init() override
{
cancel_keys.set_callback(cancel_keys_changed);
output->connect(&pre_view_focused);
wf::get_core().connect(&pre_view_focused);
wf::get_core().connect(&on_key_event);
wf::get_core().connect(&on_button_event);
cancel_keys_changed();
Expand Down

0 comments on commit f87b07d

Please sign in to comment.