nedit always steals kbd focus on window raise/create

Luc Chouinard lucchouina at yahoo.com
Wed Mar 14 15:24:02 CET 2007


Maybe someone knows how to make this work.

I'm running nedit on Linux in a development environment and I'm trying to put together for the emacs impaired like myself. 

My desktop environment is gnome with the metacity window manager.

I've set the proper focus mode for metacity : 

focus_mode = "mouse"
strict_pointer_mode = True

When
I did that I got the proper behavior from xterm, gnome-terminal etc...
I.e when the corresponding window is instantiated on the screen, the
keyboard focus stays with the current window. 

With nedit, the keyboard focus is moved to the new nedit window.

Is there something special I need to do for nedit to have it not grab the keyboard focus ?

Thanks,

    Luc

Why all this ?

The
environment I put together uses the 'set annotate 1' feature of gdb
along with a pipe device A script reads off of the pipe and issues a
bunch of nc command to raise and position new or old nedit windows on
the line of code for each frames. Works great, but I want to keep the
keyboard focus on the gdb window. Else, it's a lot of mouse clicks when
stepping in gdb...

nedit -V

NEdit 5.5
Sep 30, 2004

     Built on: Linux, 386, GNU C
     Built at: Oct  1 2004, 15:55:40
   With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
       Server: The X.Org Foundation 60801000
       Visual: 16-bit TrueColor (ID 0x21, Default)
       Locale: en_US.UTF-8

Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux

Red Hat Enterprise Linux ES release 4 (Nahant
 Update 2)





 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


More information about the Discuss mailing list