965167807000f1b6885a725579e57c0b8ad5c10d
weston_surface_update_transform() is similar to weston_surface_configure() in that it changes the surface region on screen. Unlike configure, update_transform forgets to deal damage at all, yet it is the only place where we can do damage_below() as needed. Add a damage_below call to deal damage for the old surface region only when needed. This uses the cached state from surface->transform to get the old region. Add a damage call to deal damage for the new surface region, after updating the cached state. Add a repaint call, since we have changed the scene and should render it out. This change fixes the rotation not updating the screen properly. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
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%