Merge pull request #2231 from RobertMueller2/appid-fix

sway/window: fix appid style not cleared
pull/2234/head
Alex 2023-06-12 15:40:56 +02:00 committed by GitHub
commit 83f3c2321e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

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_) &&