- Unsaved change from XA_ATOM to XA_CARDINAL

This commit is contained in:
Trigg 2022-06-09 14:50:49 +00:00 committed by flightlessmango
parent 661cb205e4
commit dfad000928

View File

@ -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);