This commit is contained in:
Hartmut Seichter 2020-12-02 15:22:39 +01:00
parent 0cd3c99119
commit bf41ce9544
3 changed files with 10 additions and 3 deletions

View file

@ -1557,7 +1557,7 @@ static void processEvent(XEvent *event)
// the position into root (screen) coordinates
if (!event->xany.send_event && window->x11.parent != _glfw.x11.root)
{
Window dummy;
Window dummy = 0;
XTranslateCoordinates(_glfw.x11.display,
window->x11.parent,
_glfw.x11.root,