Re: FVWM: Mouse click problem with Corebird plus my FVWM configuration

Dan Espen <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <[email protected]>
Chris Siebenmann <[email protected]> writes:

>> Chris Siebenmann <[email protected]> writes:
>> 
>> >  Corebird is a Linux/GTK Twitter client:
>> > 	https://corebird.baedert.org/
>> >
>> > In attempting to use the current version on Fedora 25, I have uncovered
>> > a weird oddity where I cannot click links with the left mouse button when
>> > using my FVWM configuration. Corebird recognizes that I have clicked and
>> > will do things like select text, but does not see it as quite whatever
>> > is needed to make it see things as a click that activates the link. A long
>> > discussion of what I can and can't do is in my initial Fedora bug report:
>> > 	https://bugzilla.redhat.com/show_bug.cgi?id=1425611
>> 
>> My guess, bad hardware.
>> 
>> When you click a mouse it should generate 2 X11 events:
>> 
>> ButtonPress
>> ButtonRelease
>
>  I've just used xev to confirm that I see ButtonPress and ButtonRelease
> events. However, what I have discovered is that I see additional events
> with my FVWM configuration. Immediately before a ButtonPress, I also get:
>
> ButtonRelease event, serial 33, synthetic NO, window 0x600001,
>    root 0x26d, subw 0x0, time 672491078, (62,72), root:(856,280),
>    state 0x100, button 1, same_screen YES

The first event you see SHOULD be ButtonPress.
Are you sure there is a release before the press?
If so, bad hardware.

(Still guessing.)

>  If I comment out all Mouse 0 and 1 bindings from my fvwmrc-2.5
> file (from the URL) *except* either:
> 
> 	Mouse   1       A               MS              Iconify
> or
> 	Mouse   1       A               M               Raise
> 
> then I see the extra LeaveNotify / EnterNotify / KeymapNotify sequence
> in xev and clicking on links no longer works in Corebird.
> 
> If I comment out those two bindings but leave everything else commented
> in, I don't see any problems.

Try using another modifier besides Meta.
X11 looks for a KeyPress event to know Meta is on and KeyRelease
to know it is off.  Use xev to verify that pressing Meta only produces
a press followed by a release.

-- 
Dan Espen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.