CLX question
Bill <[email protected]> Thu, 01 Dec 2005 09:30:25 -0500
| Newsgroups | gmane.lisp.clx.devel |
|---|---|
| Message-ID | <[email protected]> |
I have no idea if this is where I would ask such a question, but here goes. I am trying to develop my own widget set in (sbcl/clx) and so far all is working very well. However, I've hit a roadblock. Im trying to add dialog boxes to me widget set. I create a dialog box by creating a new top window (i.e. parent = (xlib:screen-root *def-screen*)) This works fine except that the dialog, when exposed, does not have input focus. The user has to move the mouse into the dialog box before it gets focus. I've tried going the wm_take_focus route and having the WM send a message saying the dialog has been requested, but that seems to lead nowhewre. Trying to set input focus to the dialog or any of it's children does nothing. Can anyone explain to me how you get a new top window to automatically gain focus. This is done all the time with dialog boxes and other programs work fine, so it is not a WM setting or anything causing the problem. Thanks in advance.... Bill _______________________________________________ Portable-clx mailing list [email protected] http://lists.metacircles.com/cgi-bin/mailman/listinfo/portable-clx See http://www.cliki.net/clx for darcs URL(s)