be6403ed5c
This was another complication that we had to have to support the split between libwayland-server and weston. Different grabs want to send events relative to different surfaces at different times. The default grab switches between sending coordinates relative to the 'current' surface, that is the surface the pointer is currently above, or the 'clicked' surface, in case of an implicit grab. The grab focus was set by the grab implementation and the core input code would transform the pointer position to surface relative coordinates for the grab focus and store in grab->x/y. Now we can just let the grab implementation transform the pointer coordinates itself, leaving the implementation free to transform according to whichever surface it wants. Or not transform at all if it doesn't need surface relative coordinates (like the shell move and resize grabs). |
||
---|---|---|
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.