# HG changeset patch # User Olaf Wintermann # Date 1763833224 -3600 # Node ID 6c6e97e0600959505d7cbfa6cc0b78303e557bba # Parent b72d4769764420716bcf9d5f9c62f8cea32c32c9 fix wrong exit func in ui_window_widget_destroy (Motif) diff -r b72d47697644 -r 6c6e97e06009 ui/motif/toolkit.h --- a/ui/motif/toolkit.h Sat Nov 22 18:37:46 2025 +0100 +++ b/ui/motif/toolkit.h Sat Nov 22 18:40:24 2025 +0100 @@ -82,8 +82,6 @@ typedef enum UiOrientation UiOrientation; enum UiOrientation { UI_HORIZONTAL = 0, UI_VERTICAL }; -void ui_exit_mainloop(); - XtAppContext ui_motif_get_app(void); Display* ui_motif_get_display(void); diff -r b72d47697644 -r 6c6e97e06009 ui/motif/window.c --- a/ui/motif/window.c Sat Nov 22 18:37:46 2025 +0100 +++ b/ui/motif/window.c Sat Nov 22 18:40:24 2025 +0100 @@ -50,7 +50,7 @@ uic_object_destroy(obj); nwindows--; if(nwindows == 0) { - ui_exit_mainloop(); + ui_app_quit(); } }