mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +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:
+4
-2
@@ -1478,8 +1478,10 @@ func (w *window) ShowTextInput(show bool) {}
|
||||
|
||||
func (w *window) SetInputHint(_ key.InputHint) {}
|
||||
|
||||
// Close the window. Not implemented for Wayland.
|
||||
func (w *window) Close() {}
|
||||
// Close the window.
|
||||
func (w *window) Close() {
|
||||
w.dead = true
|
||||
}
|
||||
|
||||
// Maximize the window. Not implemented for Wayland.
|
||||
func (w *window) Maximize() {}
|
||||
|
||||
Reference in New Issue
Block a user