app/internal: [X11] implement Window.Close

Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
Sebastien Binet
2020-06-22 17:20:34 +02:00
committed by Elias Naur
parent 9cfbdafe14
commit 59f07023d4
2 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ func (w *Window) WriteClipboard(s string) {
// Close the window. The window's event loop should exit when it receives
// system.DestroyEvent.
//
// Currently, only macOS and Windows driver implements this functionality,
// Currently, only macOS, Windows and X11 drivers implement this functionality,
// all others are stubbed.
func (w *Window) Close() {
w.driverDo(func() {