mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Update taskbar.cpp
This commit is contained in:
parent
cb6af026f6
commit
60c1706273
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user