From fff4509723131b56274749b38e7fa5194a2948b2 Mon Sep 17 00:00:00 2001 From: "Rene D. Obermueller" Date: Sun, 11 Jun 2023 08:41:20 +0200 Subject: [PATCH] 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. --- src/modules/sway/window.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/sway/window.cpp b/src/modules/sway/window.cpp index 3c528e0..030f93b 100644 --- a/src/modules/sway/window.cpp +++ b/src/modules/sway/window.cpp @@ -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_) &&