[X11] Flush XSendEvent on exit

This commit is contained in:
thefiddler 2014-05-12 01:49:38 +02:00
parent 1cf7386748
commit bd712e4775

View file

@ -494,6 +494,7 @@ namespace OpenTK.Platform.X11
XEvent e = new XEvent();
e.type = ExitEvent;
Functions.XSendEvent(API.DefaultDisplay, window.Handle, false, IntPtr.Zero, ref e);
Functions.XFlush(API.DefaultDisplay);
}
}
disposed = true;