Re: Window events skip past window manager?

2004-02-19 Thread Takuma Murakami
Christopher,

 I'm just installed using Cygwin/X via Cygwin Setup:
   XFree86-base v 4.3.0-1
   XFee86-bin v 4.3.0-8
 
 Running on Win XP Pro.

The version of XFree86-xserv is important.  Options for
XWin.exe are also good information.

 It's a great relief to see X again!  I'm starting off with just
 the default twm.  However, it seems that most window mouse and
 key events are not captured by the window manager, and instead
 are passed on to the app. 
 
 For example:
 
   Button3 = : all : f.raiselower
 
 This works only for the root, the window titlebar, and in the iconmgr.
 In the window, it just passes Button3 on to the running application.

I assume you mention twm and tested using .twmrc containing
only the line you showed.  It looks raiselower is working
correctly on the release-44 server with no option given.

  F1 = : all : f.raiselower
  F2 = : all : f.warpto emacs
 
 Both of these work only on root.  I've played with fvwm2 as well
 and experienced similar results.

I also tried the F1 case and got success.

 Anyway to get this to work?

I suspect that you are using a too old version of Cygwin/X
or your .twmrc has some errors.

Takuma Murakami



Re: Window events skip past window manager?

2004-02-19 Thread Takuma Murakami
Christopher,

 Here's what xev reports when I hit F1 in the event tester window, 
 does this shed any light?
 
 KeyPress event, serial 22, synthetic NO, window 0x81,
 root 0x3a, subw 0x0, time 71535359, (37,0), root:(72,469),
 state 0x10, keycode 67 (keysym 0xffbe, F1), same_screen YES,
 XLookupString gives 0 bytes:  
 
 KeyRelease event, serial 22, synthetic NO, window 0x81,
 root 0x3a, subw 0x0, time 71535453, (37,0), root:(72,469),
 state 0x10, keycode 67 (keysym 0xffbe, F1), same_screen YES,
 XLookupString gives 0 bytes:  

Alexander Gottwald has the light.  He tells that the state
0x10 indicates NumLock is on, which probably causes your
problem.  Try to turn off NumLock.

Takuma Murakami



Window events skip past window manager?

2004-02-10 Thread Christopher J. White
I'm just installed using Cygwin/X via Cygwin Setup:
  XFree86-base v 4.3.0-1
  XFee86-bin v 4.3.0-8

Running on Win XP Pro.

It's a great relief to see X again!  I'm starting off with just
the default twm.  However, it seems that most window mouse and
key events are not captured by the window manager, and instead
are passed on to the app. 

For example:

  Button3 = : all : f.raiselower

This works only for the root, the window titlebar, and in the iconmgr.
In the window, it just passes Button3 on to the running application.

 F1 = : all : f.raiselower
 F2 = : all : f.warpto emacs

Both of these work only on root.  I've played with fvwm2 as well
and experienced similar results.

Anyway to get this to work?

...cj