weston/protocol
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
..
desktop-shell.xml shell: wait for desktop-shell init before fade in 2013-05-22 18:07:30 -04:00
fullscreen-shell.xml Add a fullscreen shell protocol 2014-04-02 21:24:34 -07:00
input-method.xml text: Rename input_method to wl_input_method 2013-05-02 17:18:46 -04:00
scaler.xml protocol: unify wl_viewport src and dst size rules 2014-04-06 22:38:15 -07:00
screenshooter.xml screenshooter: Grab pixel data directly before buffer swap 2012-04-20 16:13:27 -04:00
text-cursor-position.xml Convert text cursor position protocol to use fixed types. 2012-06-04 11:07:50 -04:00
text.xml text: Improve protocol documentation. 2013-05-02 17:12:21 -04:00
wayland-test.xml tests: Test whether a simple EGL main loop uses too many buffers 2013-12-07 22:26:23 -08:00
workspaces.xml shell: Introduce workspace manager interface 2012-08-31 19:51:49 -04:00
xdg-shell.xml xdg-shell: rename the xdg_surface.delete event to close. 2014-04-01 16:46:41 -07:00