diff options
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))); } |