diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2016-04-18 09:19:48 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2016-08-15 10:25:31 +0800 |
commit | 46f5d23844e1606ff50b6aae721675dbbc9f5334 (patch) | |
tree | a493618a0aa17e72abbf5aa947564fa6ab489fce /unstable/linux-dmabuf | |
parent | 3acad73c3274e98a2d47317fb70e7df9f00ecaec (diff) | |
download | wayland-protocols-46f5d23844e1606ff50b6aae721675dbbc9f5334.tar.xz |
xdg-shell: Add min/max size requests
Some application may wish to restrict their window in size, but
xdg-shell has no mechanism for the client to specify a maximum or
minimum size.
As a result, the compositor may try to maximize or fullscreen a window
while the client would not allow for the requested size.
Add new requests "set_max_size" and "set_min_size" to xdg-shell so that
the client can tell the compositor what would be its smallest/largest
acceptable size, and that the compositor can decide if maximize or
fullscreen is achievable, draw an accurate animation, etc.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764413
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
Diffstat (limited to 'unstable/linux-dmabuf')
0 files changed, 0 insertions, 0 deletions