mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
Merge pull request #467 from rockorager/gtk-close
gtk: handle all close-requests
This commit is contained in:
@ -596,7 +596,10 @@ const Window = struct {
|
||||
if (surface.window == self) {
|
||||
if (surface.core_surface.needsConfirmQuit()) break;
|
||||
}
|
||||
} else return false;
|
||||
} else {
|
||||
c.gtk_window_destroy(self.window);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Setup our basic message
|
||||
const alert = c.gtk_message_dialog_new(
|
||||
|
Reference in New Issue
Block a user