layer-shell-qt/src
David Edmundson 176b7648d4 Synchronise client driven resizing
Qt's resizing is inherently synchronous. When an application calls
QWindow::setGeometry with a new size, we expect it to make that resize.
An expose event of the requested size will be generated.

Wayland is by default async, a client requests a size, and then will be
configured to that size, or potentially another size.

The simplest way to map the two APIs is to roundtrip when the client
wants to resize. This way we can guarantee that a call to
`setGeometry();  update()` will have the server configured size before
the paint.

In practice it's still not perfect due to other issues, but at least
will sort itself out within a frame.


(cherry picked from commit 697c747c58)
2024-02-14 12:10:19 +00:00
..
declarative Use ECM QML module so the module can be used outside of repository 2024-01-04 14:42:17 -05:00
interfaces Add a new setExclusiveEdge call in the protocol 2024-01-26 11:39:06 +00:00
CMakeLists.txt Support XDG activation 2023-11-06 12:41:20 +00:00
layer-shell.json Initial commit 2021-04-01 02:28:01 +02:00
layer-shell.json.license SPDX, use .license on files where it's awkward to get it inside 2021-04-06 14:32:51 +02:00
qwaylandlayershellintegration_p.h Support XDG activation 2023-11-06 12:41:20 +00:00
qwaylandlayershellintegration.cpp Add a new setExclusiveEdge call in the protocol 2024-01-26 11:39:06 +00:00
qwaylandlayershellintegrationplugin.cpp Address code formatting 2021-04-06 13:39:27 +02:00
qwaylandlayersurface_p.h Synchronise client driven resizing 2024-02-14 12:10:19 +00:00
qwaylandlayersurface.cpp Synchronise client driven resizing 2024-02-14 12:10:19 +00:00
qwaylandxdgactivationv1_p.h Support XDG activation 2023-11-06 12:41:20 +00:00
qwaylandxdgactivationv1.cpp Support XDG activation 2023-11-06 12:41:20 +00:00
wlr-layer-shell-unstable-v1.xml Add a new setExclusiveEdge call in the protocol 2024-01-26 11:39:06 +00:00
wlr-layer-shell-unstable-v1.xml.license Add wlr-layer-shell-unstable-v1.xml protocol file's licence 2021-04-08 18:26:32 +02:00