sway/window: fix appid style not cleared (#2227)

Probably a rebase error during development of #1419. The code block now
removed was not supposed to be there anymore.
pull/2231/head
Rene D. Obermueller 2023-06-11 08:41:20 +02:00
parent 9f38631c7f
commit fff4509723
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_) &&