weston/clients
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
..
calibrator.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
clickdot.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
cliptest.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
desktop-shell.c clients: Remove the window / user parameters from the menu function 2014-05-18 13:54:15 -07:00
dnd.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
editor.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
eventdemo.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
flower.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
fullscreen.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
gears.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
glmatrix.c Add signedness warning flag and fix fallout 2012-03-30 11:52:39 -04:00
image.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
keyboard.c clients: Initialize label in keyboard handling code 2014-05-09 12:33:20 -07:00
matrix3.xpm clients: import glmatrix.c and matrix3.xpm 2011-11-18 14:45:04 +02:00
multi-resource.c multi-resource: Don't include non-existing xmalloc.h 2013-10-10 19:21:05 -07:00
nested-client.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
nested.c Use pixman_region32_clear instead of our own empty_region 2014-07-05 01:03:55 -07:00
resizor.c clients: Remove the window / user parameters from the menu function 2014-05-18 13:54:15 -07:00
scaler.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
screenshot.c screenshooter: Add missing newline and use program_invocation_short_name 2013-08-12 22:15:38 -07:00
simple-damage.c Add a simple client for testing compositor damage handling 2014-06-18 10:45:50 -07:00
simple-egl.c xdg-shell: Turn "activated" into a state 2014-05-12 23:34:05 -07:00
simple-shm.c xdg-shell: Turn "activated" into a state 2014-05-12 23:34:05 -07:00
simple-touch.c simple-touch: Handle multiple seats properly 2014-05-09 12:50:11 -07:00
smoke.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
stacking.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
subsurfaces.c Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
terminal.c clients: Remove the window / user parameters from the menu function 2014-05-18 13:54:15 -07:00
transformed.c Clients: Fix memleak issues in various clients of weston 2014-06-24 10:22:43 -07:00
weston-info.c weston-info: fix log message typo 2014-04-21 15:40:26 -07:00
weston-simple-im.c Add more missing config.h #includes 2013-08-26 14:59:14 -07:00
window.c shell: Replace set_margin with set_window_geometry 2014-07-17 13:59:01 -07:00
window.h clients: Allow creating a "detached" menu 2014-05-23 09:37:19 -07:00
wscreensaver-glue.c screensaver: fix decoding of transparency in xpm files 2012-09-06 21:08:12 -04:00
wscreensaver-glue.h Never include wayland-util.h directly 2011-11-22 09:35:14 -05:00
wscreensaver.c Rename invocations of frame_create that were missed by ee7fefcf 2013-10-21 21:04:08 -07:00
wscreensaver.h Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00