mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 11:25:27 +00:00
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:
parent
a0e95055e3
commit
eedbe9df31
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue