diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-23 01:41:26 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-23 01:41:26 +0200 |
commit | dcae815a5e1a6205f9d35bbfe0bba0f650c1d0eb (patch) | |
tree | 826aa2031f984e054c960c573b5b62820e74dd6b /src | |
parent | 26750f320fcb19fd5fa199bc935d7f5b0ea13c55 (diff) |
Update appdata
Diffstat (limited to 'src')
-rw-r--r-- | src/egl.c | 4 | ||||
-rw-r--r-- | src/main.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -210,7 +210,7 @@ static bool gsr_egl_create_window(gsr_egl *self, bool wayland) { } static bool gsr_egl_load_egl(gsr_egl *self, void *library) { - dlsym_assign required_dlsym[] = { + const dlsym_assign required_dlsym[] = { { (void**)&self->eglGetDisplay, "eglGetDisplay" }, { (void**)&self->eglInitialize, "eglInitialize" }, { (void**)&self->eglTerminate, "eglTerminate" }, @@ -235,7 +235,7 @@ static bool gsr_egl_load_egl(gsr_egl *self, void *library) { } static bool gsr_egl_load_gl(gsr_egl *self, void *library) { - dlsym_assign required_dlsym[] = { + const dlsym_assign required_dlsym[] = { { (void**)&self->glGetString, "glGetString" }, { NULL, NULL } diff --git a/src/main.cpp b/src/main.cpp index 5e52f0f..22ad190 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -394,6 +394,7 @@ static void setup_systray(GtkApplication *app) { app_indicator_set_icon_full(app_indicator, tray_idle_icon_name, "Idle"); // This triggers Gdk assert: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed, // dont know why but it works anyways + app_indicator_set_title(app_indicator, "GPU Screen Recorder"); app_indicator_set_status(app_indicator, APP_INDICATOR_STATUS_ACTIVE); app_indicator_set_menu(app_indicator, GTK_MENU(create_systray_menu(app, SystrayPage::FRONT))); } |