mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Merge pull request #2231 from RobertMueller2/appid-fix
sway/window: fix appid style not cleared
This commit is contained in:
commit
83f3c2321e
@ -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_) &&
|
||||
|
Loading…
Reference in New Issue
Block a user