mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 06:08:05 +02:00
read-only mirror of https://gitlab.freedesktop.org/wayland/weston
Callbacks registered via display_set_output_configure_handler() are promised to be called when we know the current mode for the output. If the following order of events happens: 1. toytoolkit binds to a wl_output global 2. application registers an output configure handler 3. the wl_output.mode events are received Then in step 2 we would call the callback with uninitialised output informations, giving it a 0x0 size. To avoid such race, do not call the callback from display_set_output_configure_handler() if the output has 0x0 size. The wl_output.mode event will be received later, and that will trigger the right call to the callback. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> |
||
|---|---|---|
| clients | ||
| data | ||
| man | ||
| protocol | ||
| shared | ||
| src | ||
| tests | ||
| wcap | ||
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| Makefile.am | ||
| 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.