Skip to content

Commit fff4509

Browse files
sway/window: fix appid style not cleared (Alexays#2227)
Probably a rebase error during development of Alexays#1419. The code block now removed was not supposed to be there anymore.
1 parent 9f38631 commit fff4509

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/modules/sway/window.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ auto Window::update() -> void {
178178
} else {
179179
mode += 32;
180180
}
181-
if (!app_id_.empty() && !bar_.window.get_style_context()->has_class(app_id_)) {
182-
bar_.window.get_style_context()->add_class(app_id_);
183-
old_app_id_ = app_id_;
184-
}
185181
}
186182

187183
if (!old_app_id_.empty() && ((mode & 2) == 0 || old_app_id_ != app_id_) &&

0 commit comments

Comments
 (0)