From 5d74e53e49efe962985d0f1a7831d97a707dd5a4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 8 Dec 2023 18:04:42 +0100 Subject: Add class hint, wm name, window type --- depends/mgl | 2 +- include/mglpp/window/Window.hpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/depends/mgl b/depends/mgl index b756fb4..b3c534b 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit b756fb4fa5ed540ea37139d45def2f3f1151b19e +Subproject commit b3c534bdeb82f31d1a30d609b2fe42c128d9b560 diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp index c90f89e..185b122 100644 --- a/include/mglpp/window/Window.hpp +++ b/include/mglpp/window/Window.hpp @@ -46,6 +46,8 @@ namespace mgl { bool override_redirect = false; bool support_alpha = false; /* support alpha for the window */ Color background_color = {0, 0, 0, 0}; + const char *class_name = nullptr; + mgl_window_type window_type = MGL_WINDOW_TYPE_NORMAL; }; Window(); -- cgit v1.2.3