Antwort: Re: downgrade a 5-button- to a 3-button-mouse

Hermann-Josef Beckers hj.beckers@kreis-steinfurt.de
Mon Apr 18 15:07:00 GMT 2005


cygwin-xfree-owner@cygwin.com schrieb am 18.04.2005 15:39:43:

> 
> Cygwin/X will use a 3button mouse by default and ask windows how 
> many additional
> buttons the mouse supports. I'm have no idea how these special 
> function keys are 
> supposed to work, but functions keys which depend on a mouse settingare 
broken
> in my opinion. 
> 
Problem is there is no real mouse, only the pen/stylus acting
as a mouse. The mailinglist has a short thread (2 messages) from
march 2003; Harold suggestesd using -multiwindow: it is activated,
no chance.

> You may check with xev if the keys are somehow recognized in 
> Cygwin/X nevertheless.

Following are three xev-traces from entering the panel, 
clicking the button labeled F6 and leaving.


Run 1:

EnterNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 1469359, (55,0), root:(141,374),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 13, synthetic NO, window 0x0,
    keys:  58  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 

VisibilityNotify event, serial 13, synthetic NO, window 0x80051f,
    state VisibilityPartiallyObscured

VisibilityNotify event, serial 13, synthetic NO, window 0x80051f,
    state VisibilityUnobscured

ConfigureNotify event, serial 13, synthetic NO, window 0x80051f,
    event 0x80051f, window 0x80051f, (86,374), width 202, height 173,
    border_width 0, above 0x800427, override NO

ConfigureNotify event, serial 13, synthetic NO, window 0x80051f,
    event 0x80051f, window 0x80051f, (86,374), width 202, height 173,
    border_width 0, above 0xa00001, override NO

ConfigureNotify event, serial 13, synthetic NO, window 0x80051f,
    event 0x80051f, window 0x80051f, (86,374), width 202, height 173,
    border_width 0, above 0x800427, override NO

VisibilityNotify event, serial 13, synthetic NO, window 0x80051f,
    state VisibilityPartiallyObscured

VisibilityNotify event, serial 13, synthetic NO, window 0x80051f,
    state VisibilityUnobscured

KeyRelease event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x0, time 1481218, (90,39), root:(176,413),
    state 0x0, keycode 8 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 

VisibilityNotify event, serial 16, synthetic NO, window 0x80051f,
    state VisibilityPartiallyObscured

VisibilityNotify event, serial 16, synthetic NO, window 0x80051f,
    state VisibilityUnobscured

VisibilityNotify event, serial 16, synthetic NO, window 0x80051f,
    state VisibilityPartiallyObscured

VisibilityNotify event, serial 16, synthetic NO, window 0x80051f,
    state VisibilityUnobscured

LeaveNotify event, seria

Second try:


EnterNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 1569578, (159,14), root:(245,388),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 13, synthetic NO, window 0x0,
    keys:  58  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 

LeaveNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 1570375, (83,-12), root:(169,362),
    mode NotifyNormal, detail NotifyVirtual, same_screen YES,
    focus YES, state 0

ConfigureNotify event, serial 13, synthetic NO, window 0x80051f,
    event 0x80051f, window 0x80051f, (86,374), width 202, height 173,
    border_width 0, above 0xa00001, override NO

ConfigureNotify event, serial 13, synthetic NO, window 0x80051f,
    event 0x80051f, window 0x80051f, (86,374), width 202, height 173,
    border_width 0, above 0xa00001, override NO

EnterNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 1571937, (112,13), root:(198,387),
    mode NotifyNormal, detail NotifyVirtual, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 13, synthetic NO, window 0x0,
    keys:  58  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 

LeaveNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 1572000, (222,81), root:(308,455),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus YES, state 0

EnterNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 1581203, (185,18), root:(271,392),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus YES, state 0


Third try:

EnterNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 3836140, (162,1), root:(248,375),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 13, synthetic NO, window 0x0,
    keys:  58  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 

ConfigureNotify event, serial 13, synthetic NO, window 0x80051f,
    event 0x80051f, window 0x80051f, (86,374), width 202, height 173,
    border_width 0, above 0x800427, override NO

ConfigureNotify event, serial 13, synthetic NO, window 0x80051f,
    event 0x80051f, window 0x80051f, (86,374), width 202, height 173,
    border_width 0, above 0xa00001, override NO

LeaveNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 3850828, (268,58), root:(354,432),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus YES, state 0

EnterNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 3894328, (201,60), root:(287,434),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 13, synthetic NO, window 0x0,
    keys:  58  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0 

LeaveNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 3894859, (208,82), root:(294,456),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus YES, state 0

ConfigureNotify event, serial 13, synthetic NO, window 0x80051f,
    event 0x80051f, window 0x80051f, (86,374), width 202, height 173,
    border_width 0, above 0x800427, override NO

EnterNotify event, serial 13, synthetic NO, window 0x80051f,
    root 0x3a, subw 0x800533, time 3937203, (129,93), root:(215,467),
    mode NotifyNormal, detail NotifyNonli



More information about the Cygwin-xfree mailing list