[X11] Flush XSendEvent on exit
This commit is contained in:
parent
1cf7386748
commit
bd712e4775
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue