Skip to content

my fvwm config does not work with recent chromium #663

@marcespie

Description

@marcespie

Thanks for reporting your bug here! The following template will help with
giving as much information as possible so that it's easier to diagnose and
fix.

Upfront Information

Please provide the following information by running the command and providing
the output.

  • Fvwm3 version (run: fvwm3 --version)
    fvwm3 1.0.4 (released)
    with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, XRandR, XRender, XCursor, XFT, NLS

  • Linux distribution or BSD name/version
    OpenBSD-current (post 7.1)

  • Platform (run: uname -sp)
    OpenBSD nausicaa.home 7.1 GENERIC.MP#475 amd64

I have several lines in my config that look like:

Mouse 1 W MS Maximize 0 100

but since fvwm* does not use XPeekEvent (as far as I can tell), it uses XNextEvent of mouse events inside the window, check the modifiers to see if they match, and try to pushback the event in the queue. This results in a synthetic event !

Chromium (v100.0.4896.127 but this has happened for some time now) is unhappy about this and won't see some clicks (but not all!)

An instance of an url that doesn't work but doesn't require login is:
https://en.cppreference.com/w/cpp/container/vector

(try to use the pulldown menus at the top)

The exact same problem happens with older fvwm2s.

The fix would be to try to make use of XPeekEvent to avoid fooling security-conscious programs into seeing synthetic events when fvwm3 is not changing anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething's broken!

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions