From 4af10e6c684a6e365c606b2c2ba9204aaa1cbcb4 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 4 Nov 2009 20:49:38 +0000 Subject: [PATCH] Added missing TitleChanged event. --- Source/OpenTK/Platform/X11/X11GLNative.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 30e5979c..887f0eed 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -1246,8 +1246,11 @@ namespace OpenTK.Platform.X11 } set { - if (value != null) + if (value != null && value != Title) Functions.XStoreName(window.Display, window.WindowHandle, value); + + if (TitleChanged != null) + TitleChanged(this, EventArgs.Empty); } }