diff --git a/Source/OpenTK/Platform/X11/API.cs b/Source/OpenTK/Platform/X11/API.cs index 7cc8fb76..2d93efac 100644 --- a/Source/OpenTK/Platform/X11/API.cs +++ b/Source/OpenTK/Platform/X11/API.cs @@ -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), diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index d6d63b06..013dd5a8 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -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 = diff --git a/Source/OpenTK/Platform/X11/X11Input.cs b/Source/OpenTK/Platform/X11/X11Input.cs index 17dd2e36..a8966818 100644 --- a/Source/OpenTK/Platform/X11/X11Input.cs +++ b/Source/OpenTK/Platform/X11/X11Input.cs @@ -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,