From 2aa81b741c0097652de0b988ed4d5e071b14501c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 4 Aug 2024 21:47:14 +0200 Subject: Switch to EGL --- TODO | 4 +++- depends/mglpp | 2 +- src/main.cpp | 1 + 3 files changed, 5 insertions(+), 2 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>). -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 index 5d5a88a..73757cb 160000 --- a/depends/mglpp +++ b/depends/mglpp @@ -1 +1 @@ -Subproject commit 5d5a88afbc57ee72c7bbab05ee58aebd64ee3f66 +Subproject commit 73757cb8168be698d8d702d357490dc081d353d4 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)) -- cgit v1.2.3