nmutsaer@ruunsa.fys.ruu.nl (Peter Mutsaers) (05/03/90)
I compiled the olwm window manager on X11R4 on an apollo DN10000. But several x-clients do not get input focus when I point to them, so it is pretty useless. Is there a fix for this available, or can I be doing something wrong? Peter Mutsaers
smarks@eng.sun.COM (Stu t Marks) (05/04/90)
| I compiled the olwm window manager on X11R4 on an apollo DN10000. | But several x-clients do not get input focus when I point to them, so | it is pretty useless. | Is there a fix for this available, or can I be doing something wrong? First, what focus mode is olwm in? By default, olwm runs in "click-to-type" mode, which requires you to click in the window in order to set the focus there. (Yes, some people *do* like this mode.) If you want the focus to follow the mouse, run olwm with the -f option. Another strong possibility is that these clients aren't ICCCM-compliant. The ICCCM requires that clients set up a hint to tell the window manager that they are eligible to receive the focus. Some window managers (like twm, uwm, ...) leave the focus in PointerRoot pretty much all the time, so these non-compliant applications appear to work correctly. However, other window managers (olwm, dxwm, perhaps mwm) require this hint to be set in order for the focus to be transferred properly. The real solution, therefore, is to fix the clients. There's a terse description of what needs to be done in [X11R4]/doc/tutorials/answers.txt, under number 4. If for some reason you can't fix the clients to set the focus hint, you can tell olwm to be more lenient about enforcing the ICCCM conventions. Put the following line into your .Xdefaults: OpenWindows.FocusLenience: true and restart olwm. Of course, this will work only for olwm; it won't work for other ICCCM-compliant window managers. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Window Systems Group UUCP: sun!smarks Sun Microsystems, Inc.