Update taskbar.cpp

This commit is contained in:
Anakael 2021-11-19 18:54:37 +03:00 committed by GitHub
parent cb6af026f6
commit 60c1706273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,7 +376,7 @@ std::string Task::state_string(bool shortened) const
void Task::handle_title(const char *title) void Task::handle_title(const char *title)
{ {
title_ = title; title_ = title;
hide_if_ignored(); hide_if_ignored();
} }
void Task::hide_if_ignored() void Task::hide_if_ignored()
@ -400,7 +400,7 @@ void Task::hide_if_ignored()
void Task::handle_app_id(const char *app_id) void Task::handle_app_id(const char *app_id)
{ {
app_id_ = app_id; app_id_ = app_id;
hide_if_ignored(); hide_if_ignored();
if (!with_icon_) if (!with_icon_)
return; return;