d6f09a75a7
The old implementation didn't work because we set the minimum and maximum sizes so that the WM can't resize us. That makes the fullscreen protocol not work. Additionally we were requesting fullscreen after mapping, which requires the more complicated (and potentially flickery) client message approach. Now we just set the _NET_WM_STATE before mapping and avoid setting the size hints in case of fullscreen. That's all good, but the problem is that we now have to wait for configure notify before we know what size our output will be. For now we just block and pull events from X until we get the size. Ideally we would treat the map as an output hotplug event and just add the output at that point, but we can't start up with no outputs present. That may be worth fixing, but for now, the block-on-map is fine. |
||
---|---|---|
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.