From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 18-SEP-1990 17:14:57.99
To:	MRGATE::"ARISIA::EVERHART"
CC:	
Subj:	Re: "Click to type" on DECWINDOWS

Received:  by crdgw1.ge.com (5.57/GE 1.73)
	 id AA16679; Tue, 18 Sep 90 16:59:38 EDT
Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Tue, 18 SEP 90 02:56:52 PDT
Received: by ucbvax.Berkeley.EDU (5.63/1.42)
	id AA03666; Tue, 18 Sep 90 02:39:51 -0700
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-vax@kl.sri.com (info-vax@kl.sri.com)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 14 Sep 90 14:58:07 GMT
From: eru!hagbard!sunic!mcsun!hp4nl!vax1.sara.nl!toon@bloom-beacon.mit.edu
Organization: SARA, Academic Computing Services Amsterdam (NL)
Subject: Re: "Click to type" on DECWINDOWS
Message-Id: <1990Sep14.155808.2469@vax1.sara.nl>
References: <1554@front.se>, <1990Sep10.121109@laura.alf.dec.com>, <6780@darkstar.ucsc.edu>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

In article <6780@darkstar.ucsc.edu>, mcmahon@tgv.com (John McMahon) writes:
> :In article <1554@front.se>, thomas@front.se (Thomas Thyberg) writes:
> :Is there a way to get the keyboard focus to follow the mouse pointer?
> 
> The following program was posted to comp.os.vms a while ago, unfortunately I
> have lost the name of the person who provided it.  It provides the "mouse
> following focus" that you desire under the DECwindows window manager.
> 
  ... Follows some 200+ lines of codes - works as advertised.
  But, you might want to have the window with the (newly acquired)
  focus to rise to the top. If so, include:

>          case EnterNotify: focus = enter->window;
>                            XSetInputFocus(display,focus,
>                                           RevertToPointerRoot,CurrentTime);
  /* ---> */                 XRaiseWindow(display, focus);  /* <---- */
>                            break;
>
> John 'Fast-Eddie' McMahon    :    MCMAHON@TGV.COM    : TTTTTTTTTTTTTTTTTTTTTTTT
> TGV, Incorporated            :                       :    T   GGGGGGG  V     V
> 603 Mission Street           : HAVK (abha) Gur bayl  :    T  G          V   V
> Santa Cruz, California 95060 : bcrengvat flfgrz gb   :    T  G    GGGG   V V
> 408-427-4366 or 800-TGV-3440 : or qrfgeblrq ol znvy  :    T   GGGGGGG     V
-- 

Toon Moene, SARA - Amsterdam (NL)
Internet: TOON@SARA.NL

Cyclists don't need a garage to start with.

