19d10ef925
Previously, it was impossible to override the fade in/out behavior of Weston using a different shell, since this was implemented in core Weston. This also led to complicated interaction between the shell and the core when displaying lock surfaces and screensavers. This patch starts to solve this issue by moving the fade animation out of the core. On compositor.c, besides deleting the fade code, the idle handler had to be changed to emit the lock signal, since it was called from the fade_frame() function before. This causes a slight change of behavior, since before the fade would happen with the compositor being active, while now it is already in the idle state. That leads to the dpms state being set when cancelling the fade with mouse movement, and in turn, to a slight freeze with drm compositor. This problem will be fixed in a follow up patch. On the shell side, the fade was re-implemented in a slightly different manner. Instead of using a custom frame function, the fade animation from animation.c is used. The interface for starting the fade was also changed to take the value of an enum instead of a float alpha value, in order to improve readability. |
||
---|---|---|
clients | ||
data | ||
man | ||
protocol | ||
shared | ||
src | ||
tests | ||
wcap | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
notes.txt | ||
README | ||
weston.ini |
Weston Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. Weston has various backends that lets it run on Linux kernel modesetting and evdev input as well as under X11. Weston ships with a few example clients, from simple clients that demonstrate certain aspects of the protocol to more complete clients and a simplistic toolkit. There is also a quite capable terminal emulator (weston-terminal) and an toy/example desktop shell. Finally, weston also provides integration with the Xorg server and can pull X clients into the Wayland desktop and act as a X window manager. Refer to http://wayland.freedesktop.org/building.html for buiding weston and its dependencies.