Don't display window by default, unless "Visible = true" is called. Allows the creation of invisible windows for secondary GraphicsContexts.

This commit is contained in:
the_fiddler 2009-11-08 22:46:49 +00:00
parent a0e95055e3
commit eedbe9df31

View file

@ -175,8 +175,6 @@ namespace OpenTK.Platform.X11
// Register for window destroy notification // Register for window destroy notification
Functions.XSetWMProtocols(window.Display, window.WindowHandle, new IntPtr[] { _atom_wm_destroy }, 1); Functions.XSetWMProtocols(window.Display, window.WindowHandle, new IntPtr[] { _atom_wm_destroy }, 1);
API.MapRaised(window.Display, window.WindowHandle);
} }
driver = new X11Input(window); driver = new X11Input(window);