summaryrefslogtreecommitdiffstats
path: root/src/tools/qtpaths/qtpaths.cpp
diff options
context:
space:
mode:
authorVlad Zahorodnii <[email protected]>2025-05-26 14:05:12 +0300
committerVlad Zahorodnii <[email protected]>2025-05-27 18:11:03 +0300
commit4ddc7a1407c616063d9f1bc4896685ec7adf3aac (patch)
treea6912295832a0cae765b265bd9f9f823858326d9 /src/tools/qtpaths/qtpaths.cpp
parent1ecbad8da9828dc561268d0fce8c24239f0a7f2d (diff)
wayland: Deliver WindowScreenChangedEvent synchronouslyHEADdev
The QWaylandWindow::handleScreensChanged() function checks window()->screen(), but QWindow's screen is updated asynchronously. It can lead to the following issue: - start on screen 1 - QWaylandWindow::handleWindowScreenChanged(screen 2): it'll update the window geometry so the window position is at the top left corner of screen 2 - QWaylandWindow::handleWindowScreenChanged(screen 1): it'll do nothing, despite the fact that the geometry has to be updated This change makes the delivery of WindowScreenChanged events sync, so the QPA updates the window geometry as expected if the window moves back and forth between two outputs. This fixes misplaced popup menus in Konsole. Change-Id: I5a200b33ef63c6082f54ee85667b7b1ab513335e Reviewed-by: David Edmundson <[email protected]>
Diffstat (limited to 'src/tools/qtpaths/qtpaths.cpp')
0 files changed, 0 insertions, 0 deletions