mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 00:45:35 +00:00
app: implement Window.Close for Wayland
This is a followup from a question sent to the mailing list. Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
This commit is contained in:
+1
-1
@@ -303,7 +303,7 @@ func (w *Window) SetCursorName(name pointer.CursorName) {
|
||||
// Close the window. The window's event loop should exit when it receives
|
||||
// system.DestroyEvent.
|
||||
//
|
||||
// Currently, only macOS, Windows and X11 drivers implement this functionality,
|
||||
// Currently, only macOS, Windows, X11 and Wayland drivers implement this functionality,
|
||||
// all others are stubbed.
|
||||
func (w *Window) Close() {
|
||||
w.driverDefer(func(d driver) {
|
||||
|
||||
Reference in New Issue
Block a user