diff --git a/v2/internal/frontend/desktop/linux/window.go b/v2/internal/frontend/desktop/linux/window.go index aabe5a65d..e2e212063 100644 --- a/v2/internal/frontend/desktop/linux/window.go +++ b/v2/internal/frontend/desktop/linux/window.go @@ -184,7 +184,9 @@ extern void processURLRequest(void *request); gboolean close_button_pressed(GtkWidget *widget, GdkEvent *event, void* data) { processMessage("Q"); - return FALSE; + // since we handle the close in processMessage tell GTK to not invoke additional handlers - see: + // https://docs.gtk.org/gtk3/signal.Widget.delete-event.html + return TRUE; } GtkWidget* setupWebview(void* contentManager, GtkWindow* window, int hideWindowOnClose) {