mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 19:38:31 +02:00
read-only mirror of https://gitlab.freedesktop.org/wayland/weston
When a transformed (rotated) surface is continuously resized from its top-left corner, its location will drift. This is due to accumulating rounding errors in transforming an offset from surface-local to global coordinates in surface_attach(). Diminish the drift down to unobservable level by changing the weston_surface global position from integer to float. The offset transformation is now done without rounding. To preserve the precision, wl_shell::configure() interface must use floats, and so does weston_surface_configure(), too. The con of this patch is that it adds inconsistency to the surface position coordinates: sometimes they are floats, sometimes integers. |
||
|---|---|---|
| clients | ||
| data | ||
| protocol | ||
| shared | ||
| src | ||
| tests | ||
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| Makefile.am | ||
| README | ||
| weston-desktop-shell.ini | ||
| weston-tablet-shell.ini | ||
Wayland Demos This repository contains a few demos application for the Wayland project. There's a sample compositor that can run on KMS, under X11 or under another Wayland compositor and there's a handful of simple clients that demonstrate various aspects of Wayland: