Skip to content

Commit

Permalink
sway/window: fix appid style not cleared (Alexays#2227)
Browse files Browse the repository at this point in the history
Probably a rebase error during development of Alexays#1419. The code block now
removed was not supposed to be there anymore.
  • Loading branch information
RobertMueller2 committed Jun 11, 2023
1 parent 9f38631 commit fff4509
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/modules/sway/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_) &&
Expand Down

0 comments on commit fff4509

Please sign in to comment.