From cf5640d2a9ef10af528d0ed900ff1d79b782b460 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 15 Jan 2008 13:12:31 +0000 Subject: [PATCH] Re-added mouse input events. --- Source/OpenTK/Platform/X11/X11GLNative.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 70188846..3b38f0f4 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -373,9 +373,9 @@ namespace OpenTK.Platform.X11 API.CreateColormap(window.Display, window.RootWindow, window.VisualInfo.visual, 0/*AllocNone*/); window.EventMask = EventMask.StructureNotifyMask | EventMask.SubstructureNotifyMask | EventMask.ExposureMask | - EventMask.KeyReleaseMask | EventMask.KeyPressMask;/* | - EventMask.PointerMotionMask | /* Bad! EventMask.PointerMotionHintMask | - EventMask.ButtonPressMask | EventMask.ButtonReleaseMask;*/ + EventMask.KeyReleaseMask | EventMask.KeyPressMask | + EventMask.PointerMotionMask | /* Bad! EventMask.PointerMotionHintMask | */ + EventMask.ButtonPressMask | EventMask.ButtonReleaseMask; attributes.event_mask = (IntPtr)window.EventMask; uint mask = (uint)SetWindowValuemask.ColorMap | (uint)SetWindowValuemask.EventMask |