Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tarek-y-ismail committed Dec 16, 2024
1 parent fd58ab6 commit bffd5f1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/server/frontend_wayland/text_input_v1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
#include "mir/executor.h"
#include "mir/scene/text_input_hub.h"

#define MIR_LOG_COMPONENT "TextInputV1"
#include "mir/log.h"

#include <memory>
#include <boost/throw_exception.hpp>
#include <deque>
Expand Down Expand Up @@ -369,6 +366,7 @@ void TextInputV1::activate(wl_resource *seat_resource, wl_resource *surface)
{
on_new_input_field = true;
state = State::active;
pending_state = {};
}
}

Expand All @@ -394,11 +392,6 @@ void TextInputV1::hide_input_panel()

void TextInputV1::reset()
{
if(state == State::inactive)
{
mir::log_warning("Attempted to reset state while inactive");
return;
}
pending_state = {};
}

Expand Down

0 comments on commit bffd5f1

Please sign in to comment.