1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

X11: Fix read past top of stack on 64-bit

Fixes #951.
This commit is contained in:
Camilla Löwy 2017-02-23 03:26:55 +01:00
parent 463930761b
commit 5352e2caa0
2 changed files with 2 additions and 1 deletions

View File

@ -154,6 +154,7 @@ information on what to include when reporting a bug.
- [X11] Replaced `_GLFW_HAS_XF86VM` compile-time option with dynamic loading
- [X11] Bugfix: `glfwGetVideoMode` would segfault on Cygwin/X
- [X11] Bugfix: Dynamic X11 library loading did not use full sonames (#941)
- [X11] Bugfix: Window creation on 64-bit would read past top of stack (#951)
- [Linux] Bugfix: Event processing did not detect joystick disconnection (#932)
- [Cocoa] Added support for Vulkan window surface creation via
[MoltenVK](https://moltengl.com/moltenvk/) (#870)

View File

@ -571,7 +571,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
// Declare our PID
{
const pid_t pid = getpid();
const long pid = getpid();
XChangeProperty(_glfw.x11.display, window->x11.handle,
_glfw.x11.NET_WM_PID, XA_CARDINAL, 32,