From dfad0009283238c16003d0786af6685c8c76211d Mon Sep 17 00:00:00 2001 From: Trigg Date: Thu, 9 Jun 2022 14:50:49 +0000 Subject: [PATCH] - Unsaved change from XA_ATOM to XA_CARDINAL --- src/app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index 39e6fb8..09f6f1b 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -197,7 +197,7 @@ static GLFWwindow* init(const char* glsl_version){ // Set atom for gamescope to render as an overlay. Atom overlay_atom = XInternAtom (x11_display, GamescopeOverlayProperty, False); uint32_t value = 1; - XChangeProperty(x11_display, x11_window, overlay_atom, XA_ATOM, 32, PropertyNewValue, (unsigned char *)&value, 1); + XChangeProperty(x11_display, x11_window, overlay_atom, XA_CARDINAL, 32, PropertyNewValue, (unsigned char *)&value, 1); } glfwMakeContextCurrent(window);