hyprland/window: Fix overlap with .hidden class from default style

This commit is contained in:
gardenapple
2023-07-12 17:56:12 +03:00
parent dffba78401
commit 14c6550593
2 changed files with 3 additions and 5 deletions

View File

@ -11,8 +11,6 @@
#include <vector>
#include "modules/hyprland/backend.hpp"
#include "util/gtk_icon.hpp"
#include "util/json.hpp"
#include "util/rewrite_string.hpp"
namespace waybar::modules::hyprland {
@ -74,7 +72,7 @@ auto Window::update() -> void {
setClass("empty", workspace_.windows == 0);
setClass("solo", solo_);
setClass("floating", all_floating_);
setClass("hidden", hidden_);
setClass("hidden-window", hidden_);
setClass("fullscreen", fullscreen_);
if (!last_solo_class_.empty() && solo_class_ != last_solo_class_) {