mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 02:55:31 +00:00
Corrected spelling errors in X11.CreateWindow enum.
Create event now fires from X11GLNative windows (added CreateWindow.SubStructureNotifyMask). Changed X11Input window to InputOnly.
This commit is contained in:
parent
40add1aaef
commit
25f82c8b84
|
@ -932,7 +932,7 @@ XF86VidModeGetGammaRampSize(
|
|||
ButtonMotionMask = (1L<<13),
|
||||
KeymapStateMask = (1L<<14),
|
||||
ExposureMask = (1L<<15),
|
||||
VisibiityChangeMask = (1L<<16),
|
||||
VisibilityChangeMask = (1L<<16),
|
||||
StructureNotifyMask = (1L<<17),
|
||||
ResizeRedirectMask = (1L<<18),
|
||||
SubstructureNotifyMask = (1L<<19),
|
||||
|
@ -941,9 +941,9 @@ XF86VidModeGetGammaRampSize(
|
|||
FocusChangeMask = (1L<<21),
|
||||
PropertyChangeMask = (1L<<22),
|
||||
CoormapChangeMask = (1L<<23),
|
||||
ButtonReeaseMask = (1L<<3),
|
||||
ButtonReleaseMask = (1L<<3),
|
||||
EnterWindowMask = (1L<<4),
|
||||
eaveWindowMask = (1L<<5),
|
||||
LeaveWindowMask = (1L<<5),
|
||||
PointerMotionMask = (1L<<6),
|
||||
PointerMotionHintMask = (1L<<7),
|
||||
Button1MotionMask = (1L<<8),
|
||||
|
|
|
@ -116,6 +116,7 @@ namespace OpenTK.Platform.X11
|
|||
//API.CreateColormap(display, rootWindow, glxVisualInfo.visual, 0/*AllocNone*/);
|
||||
wnd_attributes.event_mask =
|
||||
EventMask.StructureNotifyMask |
|
||||
EventMask.SubstructureNotifyMask |
|
||||
EventMask.ExposureMask;
|
||||
|
||||
CreateWindowMask cw_mask =
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace OpenTK.Platform.X11
|
|||
//glxVisualInfo.depth,
|
||||
//glContext.XVisualInfo.depth,
|
||||
0,
|
||||
Constants.InputOutput,
|
||||
Constants.InputOnly,
|
||||
//glxVisualInfo.visual,
|
||||
//glContext.XVisualInfo.visual,
|
||||
IntPtr.Zero,
|
||||
|
|
Loading…
Reference in a new issue