Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/core/seat/input-method-relay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ wf::input_method_relay::input_method_relay()

on_input_method_commit.set_callback([&] (void *data)
{
auto evt_input_method = static_cast<wlr_input_method_v2*>(data);
assert(evt_input_method == input_method);

// When we switch focus, we send a done event to the IM.
// The IM may need time to process further events and may send additional commits after switching
// focus, which belong to the old text input.
Expand Down Expand Up @@ -116,9 +113,6 @@ wf::input_method_relay::input_method_relay()

on_input_method_destroy.set_callback([&] (void *data)
{
auto evt_input_method = static_cast<wlr_input_method_v2*>(data);
assert(evt_input_method == input_method);

on_input_method_commit.disconnect();
on_input_method_destroy.disconnect();
on_grab_keyboard.disconnect();
Expand Down
Loading