Re: FVWM: moving cursor to text area in new dialog box automatically

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Wed, 9 May 2001 13:43:36 +0200

On Wed, May 09, 2001 at 07:17:12AM -0400, Jeffrey D. Adams wrote:
> When I open an "Open Page" or "Search" dialog box in Netscape I would
> like the cursor to appear in the text area. There are other examples
> as well. Any suggestions would be appreciated.

In general, fvwm does not know anything about text input windows
of applications. Applications do not announce that certain sub
windows are intended to take keyboard input or not. So, if a
window has several sub windows that take keyboard input there is
no canonical way to warp the pointer to them. If you only want to
be able to type into such a window, try

  Style * GrabFocusTransient

or for only selected windows:

  Style findDialog_popup GrabFocusTransient
  Style openURLDialog_popup GrabFocusTransient

(use FvwmIdent to find out name/class/resource of a window). The
GrabFocusTransient option is new to the 2.3.x beta version. To
actually warp the pointer into the window you could use FvwmEvent.
If you need help in setting up FvwmEvent, don't hesitate to ask.

Bye

Dominik ^_^ ^_^

--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed May 09 2001 - 06:44:04 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST