Commit 04d22188 authored by hybrid's avatar hybrid

Store the actual render window in ExposedData.OpenGLLinux.X11Window, even for...

Store the actual render window in ExposedData.OpenGLLinux.X11Window, even for externally created parent windows.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1601 dfc29bdd-3216-0410-991c-e03cc46cb475
parent b4c597aa
......@@ -538,7 +538,6 @@ bool CIrrDeviceLinux::createWindow()
InputOutput, visual->visual,
CWBorderPixel | CWColormap | CWEventMask,
&attributes);
CreationParams.WindowId = (void*)window;
}
else
{
......@@ -549,6 +548,7 @@ bool CIrrDeviceLinux::createWindow()
CWBorderPixel | CWColormap | CWEventMask,
&attributes);
}
CreationParams.WindowId = (void*)window;
Atom wmDelete;
wmDelete = XInternAtom(display, wmDeleteWindow, True);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment