text field in dialog widget doesn t get focus i am using the glx widget athena widgets on a mixed model application under dwm but when the dialog gets popped up its text entry field does not have focus aimilar code works perfectly if i use pure x no mixed model here is the relevant portion of the code int n arg wargs widget button popupshell dialog initialize toplevel here n xtsetarg wargs n xtnlabel foo n button xtcreatemanagedwidget foobtn commandwidgetclass toplevel wargs n popupshell xtcreatepopupshell pupshell overrideshellwidgetclass button null xtaddcallback popupshell xtncallback mypopup xtpointer popupshell n xtsetarg wargs n xtnvalue n dialog xtcreatemanagedwidget thedialog dialogwidgetclass popupshell wargs n void mypopup w popup shell call data widget w widget popup shell xtpointer call data xtpopup popup shell xtgrabexclusive a way i found to give focus to the text field is to move the application window around a little bit and place it right behind the popup any pointers would be greatly appreciated
