1
0
mirror of https://github.com/rad4day/Waybar.git synced 2023-12-21 10:22:59 +01:00

sway/window: fix appid style not cleared ()

Probably a rebase error during development of . The code block now
removed was not supposed to be there anymore.
This commit is contained in:
Rene D. Obermueller 2023-06-11 08:41:20 +02:00
parent 9f38631c7f
commit fff4509723

View File

@ -178,10 +178,6 @@ auto Window::update() -> void {
} else {
mode += 32;
}
if (!app_id_.empty() && !bar_.window.get_style_context()->has_class(app_id_)) {
bar_.window.get_style_context()->add_class(app_id_);
old_app_id_ = app_id_;
}
}
if (!old_app_id_.empty() && ((mode & 2) == 0 || old_app_id_ != app_id_) &&