On Sun, 11 Feb 2018, Zebediah Figura wrote: [...]
$ cat ~/.fvwm/config Style * ClickToFocus DesktopSize 1x1
The rest comes from the standard Debian configuration file: /usr/share/fvwm/default-config/config
First a correction: ~/.fvwm/config totally overrides the default fvwm configuration. So the above is the entirety of the fvwm configuration. Maybe that's not enough?
[...]
or add
Style * DontStackTransientParent
to override the previous setting.
Ok. I did a bunch of tests with user32:msg and DontStackTransientParent seems to help. Without it I get 23 systematic errors and with it the test succeeds most of the time with only 4 to 9 failures in one or two runs out of 10. So here is the newi ~/.fvwm/config:
--- # The default fvwm config is pretty long and has tons of features of # dubious relevance for a test environment: # - It has a sidebar which may be causing the ole32:dragdrop test to fail. # - The virtual desktops are just an annoyance when accessing the machine # through VNC. # So this configuration file completely replaces the default one and is # built from scratch with only the settings that have been deemed necessary.
# fvwm's default SloppyFocus policy does not match the Windows behavior and # causes a lot of failures. So use ClickToFocus instead which best matches the # Windows behavior. Style * ClickToFocus
# DontStackTransientParent is needed to avoid some failures in user32:msg. # See https://www.winehq.org/pipermail/wine-devel/2018-February/122021.html Style * DontStackTransientParent
# DecorateTransient does not seem to be needed for the tests but gives a proper # border to transient Windows like File Open dialogs. This makes them much more # usable and better matches the Windows behavior. Style * DecorateTransient
# Don't use virtual desktops to avoid aggravation when the mouse goes out of the # VNC window. DesktopSize 1x1 ---
Let me know how it goes.
Fun fact: Depending on the fvwm settings, clicking on the File menu in Gimp has a 50% chance of crashing x11vnc!