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
parent
9f38631c7f
commit
fff4509723
|
@ -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