• Zhiyi Zhang's avatar
    user32/tests: Do not modify cursor position when simulating clicks. · 40492eb0
    Zhiyi Zhang authored
    FVWM by default uses a focus follow mouse model so the window under the mouse cursor automatically
    gets focus. Windows explorer.exe and other windows managers use click to focus model. So on FVWM,
    if a test changes the cursor position, it might affects other tests that rely on a specific focus
    window. Restore the cursor position after sending simulating clicks to avoid affecting other tests
    unintentionally. FVWM could be configured to use a click to focus model, but right now it will make
    many tests starting to succeed and other tests fail. So it seems to be too big of a change. Flaky
    is added to test_SetWindowPos() because this patch makes the tests succeed on Gitlab CI but the same
    tests still fails for other window managers and on TestBots.
    40492eb0
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...