--- a/ui/motif/window.c Sat Apr 05 15:53:41 2014 +0200
+++ b/ui/motif/window.c Sat Apr 05 18:41:30 2014 +0200
@@ -80,6 +80,9 @@
window_close_handler,
obj);
+ // TODO: use callback
+ ui_set_active_window(toplevel);
+
// menu
Widget window = XtVaCreateManagedWidget(
title,