Commit 3a8f895d authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

tst_QWidget/XCB: Use bottom/right corner of screen as safe cursor position.


Pushing the mouse rapidly to the top left corner causes KDE / KWin to
switch to "Present all Windows" (Ctrl+F9) mode, showing all windows.
This has been observed to be triggered programmatically by
QCursor::setPos(0, 0) if there is no other window beneath and apparently
depending on the perceived mouse "speed".
Suppress this by using the bottom right corner for XCB.

Change-Id: Id18d2f45a095ed4d4f365f010cf45a20b0d9435e
Reviewed-by: default avatarTony Sarajärvi <tony.sarajarvi@qt.io>
parent d7a3b614
No related merge requests found
Showing with 15 additions and 7 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment