Skip to content

Commit

Permalink
xdg-activation: address review
Browse files Browse the repository at this point in the history
  • Loading branch information
dkondor committed Mar 2, 2025
1 parent 10afe15 commit bcc2d49
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions plugins/protocols/xdg-activation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class wayfire_xdg_activation_protocol_impl : public wf::plugin_interface_t
return;
}

LOGI("Activating view");
LOGD("Activating view");
wf::get_core().default_wm->focus_request(toplevel);
});

Expand Down Expand Up @@ -107,11 +107,7 @@ class wayfire_xdg_activation_protocol_impl : public wf::plugin_interface_t

xdg_activation_token_destroy.set_callback([this] (void *data)
{
auto token = static_cast<struct wlr_xdg_activation_token_v1*>(data);
if (token == last_token)
{
last_token = nullptr;
}
last_token = nullptr;

xdg_activation_token_destroy.disconnect();
});
Expand Down

0 comments on commit bcc2d49

Please sign in to comment.