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:
the_fiddler 2007-08-05 16:15:15 +00:00
parent 22d4f1b3ce
commit 1bb6569b46
3 changed files with 5 additions and 4 deletions

View file

@ -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),

View file

@ -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 =

View file

@ -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,