ddae03cf9bd0012b96be834a3e4797dfe2f1be6f
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.
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:
Description
Languages
C
98%
Meson
1.4%
Shell
0.3%
GLSL
0.2%