aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-04 21:47:14 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-04 21:47:14 +0200
commit2aa81b741c0097652de0b988ed4d5e071b14501c (patch)
tree00351e6a7285c07ec82736c23beac0b46a6129b6
parent3a20c417cbf7d5db1d9d26abfbda388e58f96c18 (diff)
Switch to EGL
-rw-r--r--TODO4
m---------depends/mglpp0
-rw-r--r--src/main.cpp1
3 files changed, 4 insertions, 1 deletions
diff --git a/TODO b/TODO
index b9b3aec..0b70db1 100644
--- a/TODO
+++ b/TODO
@@ -14,4 +14,6 @@ Colorscheme should follow graphics card in use. On nvidia use nvidia green, on i
Optimize list/page when having a few items in it (dont use vector<unique_ptr<Widget>>).
-Only redraw ui if changed (dirty state, propagate upward. Set dirty when adding widget or changing any visible properly on a widget or when event updates how the widget should be displayed). \ No newline at end of file
+Only redraw ui if changed (dirty state, propagate upward. Set dirty when adding widget or changing any visible properly on a widget or when event updates how the widget should be displayed).
+
+Use _NET_WM_ALLOWED_ACTIONS. Same for notifications. \ No newline at end of file
diff --git a/depends/mglpp b/depends/mglpp
-Subproject 5d5a88afbc57ee72c7bbab05ee58aebd64ee3f6
+Subproject 73757cb8168be698d8d702d357490dc081d353d
diff --git a/src/main.cpp b/src/main.cpp
index 07aca20..636d3a2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -410,6 +410,7 @@ int main(int argc, char **argv) {
window_create_params.background_color = bg_color;
window_create_params.support_alpha = true;
window_create_params.window_type = MGL_WINDOW_TYPE_NOTIFICATION;
+ window_create_params.render_api = MGL_RENDER_API_EGL;
mgl::Window window;
if(!window.create("gsr overlay", window_create_params))