mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 05:18:01 +02:00
read-only mirror of https://gitlab.freedesktop.org/wayland/weston
Previously, when coming back from idle the compositor would try to track if the unlock signal needed to be sent, and the shell would change the compositor state in order to track when to display or hide the screensaver. This patch finishes moving this out of the compositor. With this, the compositor state should be changed only using the exported functions weston_compositor_wake() and weston_compositor_sleep(). The unlock signal will be sent if the compositor wasn't in the ACTIVE state previously. The lock signal is sent when the compositor becomes idle. The calls to weston_compositor_wake() in the shell where there to allow it to trigger the fade in only after the lock surface was configured. Now the shell has full control of the fade and does not needed to change the compositor state to do that, so those calls were replaced with shell_fade() calls. |
||
|---|---|---|
| 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.