aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-12-08 18:04:42 +0100
committerdec05eba <dec05eba@protonmail.com>2023-12-08 18:04:42 +0100
commit5d74e53e49efe962985d0f1a7831d97a707dd5a4 (patch)
tree5aaa5f3be58ee643218bae37d1871e82caf65f09
parent89ca6494e61ccca06a410db71458c53859cd4920 (diff)
Add class hint, wm name, window type
m---------depends/mgl0
-rw-r--r--include/mglpp/window/Window.hpp2
2 files changed, 2 insertions, 0 deletions
diff --git a/depends/mgl b/depends/mgl
-Subproject b756fb4fa5ed540ea37139d45def2f3f1151b19
+Subproject b3c534bdeb82f31d1a30d609b2fe42c128d9b56
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();