Go to file
Pekka Paalanen 2c8b5f534b protocol: unify wl_viewport src and dst size rules
Let's make the source and destination size rules consistent: neither can
have zero, {-1, -1} disables it, and other negatives are not allowed.

The sanity of allowing zero sized source rectangle as debatable. Now the
minimum becomes 1/256x1/256, and with output_scale the actual samples
may be even smaller. That should be enough.

On not allowed values, raise a protocol error. This should help catch
bugs in clients that accidentally send garbage values.

The old wl_viewport.set request remains the same, and can still produce
zero sized source rectangle.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-04-06 22:38:15 -07:00
clients toytoolkit: match parent surface type when adding a subsurface 2014-04-06 22:37:45 -07:00
data build: Move data/Makefile.am into Makefile.am 2014-01-31 23:49:39 -08:00
desktop-shell compositor: let the shells create the screenshooter 2014-04-02 11:39:19 -07:00
fullscreen-shell Add a wl_fullscreen_shell implementation 2014-04-02 21:25:56 -07:00
man x11-backend: Add a --scale option 2014-03-10 13:29:40 -07:00
protocol protocol: unify wl_viewport src and dst size rules 2014-04-06 22:38:15 -07:00
shared xdg-shell: Add set_margin request 2014-02-06 13:05:03 -08:00
src protocol: unify wl_viewport src and dst size rules 2014-04-06 22:38:15 -07:00
tests tests: Properly report skipped tests 2014-02-18 13:50:29 -08:00
wcap build: Move wcap/Makefile.am into top-level Makefile.am 2014-01-31 23:50:00 -08:00
xwayland xwayland: Use new Xwayland DDX 2014-04-06 22:32:24 -07:00
.gitignore Update .gitignore 2014-02-07 14:53:31 -08:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am xwayland: Use new Xwayland DDX 2014-04-06 22:32:24 -07:00
README README: Fix typo; add link to testing docs 2014-02-05 17:20:24 -08:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac xwayland: Use new Xwayland DDX 2014-04-06 22:32:24 -07:00
notes.txt Add informal notes file 2012-10-25 15:00:42 -04:00
weston.ini.in weston.ini.in: Update path to weston-flower 2014-02-18 20:39:51 -08:00

README

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 building
weston and its dependencies.

The test suite can be invoked via `make check`; see
http://wayland.freedesktop.org/testing.html for additional details.