aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-03 18:14:25 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-03 18:14:30 +0200
commite099547cfa2038b9a2b09585521f7f258fc75724 (patch)
tree6aa0d14eab54fdaabe66015d057a730fed5f890d /include
parent0b6c868d34cdaf409a46cd41fefe8871672b080c (diff)
Add notification window type
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/window.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h
index 23b780a..fdffd8d 100644
--- a/include/mgl/window/window.h
+++ b/include/mgl/window/window.h
@@ -62,7 +62,8 @@ struct mgl_window {
typedef enum {
MGL_WINDOW_TYPE_NORMAL,
- MGL_WINDOW_TYPE_DIALOG
+ MGL_WINDOW_TYPE_DIALOG, /* Also sets the window as always on top */
+ MGL_WINDOW_TYPE_NOTIFICATION /* Also sets the window as always on top */
} mgl_window_type;
/* TODO: Some of these parameters only apply to new window */