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;