dwl/window: add .active styling class for active windows

This commit is contained in:
Alex Denes
2025-02-08 04:01:11 +00:00
parent c32d5e3883
commit 8685e88ec4
3 changed files with 17 additions and 2 deletions
+2
View File
@@ -19,6 +19,7 @@ class Window : public AAppIconLabel, public sigc::trackable {
void handle_layout(const uint32_t layout);
void handle_title(const char *title);
void handle_appid(const char *ppid);
void handle_active(const uint32_t active);
void handle_layout_symbol(const char *layout_symbol);
void handle_frame();
@@ -30,6 +31,7 @@ class Window : public AAppIconLabel, public sigc::trackable {
std::string title_;
std::string appid_;
std::string layout_symbol_;
bool active_;
uint32_t layout_;
struct zdwl_ipc_output_v2 *output_status_;