weston/protocol
Jasper St. Pierre ccf48fb4f9 shell: Replace set_margin with set_window_geometry
Currently, there is a fun flicker when toggling maximization or
fullscreen on a window in mutter or more sophisicated compositors
and WMs.

What happens is that the client want so go maximized, so we
calculate the size that we want the window to resize to (640x480),
and then add on its margins to find the buffer size (+10 = 660x500),
and then send out a configure event for that size. The client
renders to that size, realizes that it's maximized, and then
says "oh hey, my margins are actually 0 now!", and so the compositor
has to send out another configure event.

In order to fix this, make the the configure request correspond to
the window geometry we'd like the window to be at. At the same time,
replace set_margin with set_window_geometry, where we specify a rect
rather than a border around the window.
2014-07-17 13:59:01 -07:00
..
desktop-shell.xml desktop-shell: Fix order of desktop_shell messages 2014-05-12 10:05:28 -07:00
fullscreen-shell.xml protocol: Correct typo 'suppot' 2014-04-10 11:59:30 -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 shell: Replace set_margin with set_window_geometry 2014-07-17 13:59:01 -07:00