diff -r a137277f9173 -r 77b09bb52ca0 ui/motif/window.c --- 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,