LukasBanana / LLGL

Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal
BSD 3-Clause "New" or "Revised" License
2.05k stars 139 forks source link

Possible Error/Mistake in LinuxWindow #1

Closed HiImJulien closed 7 years ago

HiImJulien commented 8 years ago

The event handler is trying to catch 'DestroyNotify'. Without having the code tested on an actual linux machine, there's probably a mistake.

I am not sure whether this last point should belong to the former one:

See here

LukasBanana commented 7 years ago

I know my answer is very late, but I am currently not actively working on this project. If you have any ideas to solve this issue, feel free to submit a pull request. Greetings, Lukas

LukasBanana commented 7 years ago

I finally solved this issue by adding event handling for XClientMessageEvent (see thread on stackoverflow).

Fixed with 8f50a88.