From 6c43d97cf4766ff9548786ee90c7fb602725ee6c Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 11 Nov 2007 20:22:51 +0000 Subject: [PATCH] Removed a couple of unused lines of code. --- Source/OpenTK/Platform/X11/X11GLNative.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 684b8cd9..6d60e9b3 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -138,8 +138,7 @@ namespace OpenTK.Platform.X11 break; case XEventName.DestroyNotify: - this.exists = false; - //this.OnDestroy(EventArgs.Empty); + exists = false; isExiting = true; Debug.Print("X11 window {0} destroyed.", e.DestroyWindowEvent.window); return;