weston/src
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
..
animation.c animation: ensure repaints are always scheduled during animations 2014-06-18 17:14:40 -07:00
bindings.c input: Keep track of number of touch points inside touch struct 2013-12-02 15:24:05 -08:00
clipboard.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
cms-colord.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
cms-helper.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
cms-helper.h Add more missing config.h includes 2013-08-16 10:56:00 -07:00
cms-static.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
compositor-drm.c vaapi-recorder: Don't loop trying to write on out of space condition 2014-05-09 14:12:38 -07:00
compositor-fbdev.c Add libinput based input device backend 2014-03-12 14:55:22 -07:00
compositor-headless.c compositor-headless: create input devices 2014-02-18 13:48:49 -08:00
compositor-rdp.c Use FreeRDP buildin functions to get scancodes 2014-06-02 15:17:08 +02:00
compositor-rpi.c Add libinput based input device backend 2014-03-12 14:55:22 -07:00
compositor-wayland.c compositor-wayland: Fix compiler warning 2014-06-18 17:14:40 -07:00
compositor-x11.c compsitor-x11: Report more accurate dimension of outputs 2014-03-19 13:18:54 -07:00
compositor.c Create a weston_surface_state structure for storing pending surface state and move the surface commit logic into weston_surface_commit_state 2014-07-07 09:12:57 -07:00
compositor.h shell: Replace set_margin with set_window_geometry 2014-07-17 13:59:01 -07:00
data-device.c Use pixman_region32_clear instead of our own empty_region 2014-07-05 01:03:55 -07:00
dbus.c dbus: add dbus-match helpers 2013-10-21 16:07:10 -07:00
dbus.h dbus: add dbus-match helpers 2013-10-21 16:07:10 -07:00
evdev-touchpad.c evdev: Only track one pending event 2013-09-24 16:22:19 -07:00
evdev.c input: Fix errors due to initializing input before creating outputs 2014-04-25 15:04:04 -07:00
evdev.h input: Handle unplugging the output for a touchscreen device 2014-01-16 17:08:26 -08:00
filter.c filter: Remove unused variable 2013-11-12 16:20:34 -08:00
filter.h filter: Remove unused variable 2013-11-12 16:20:34 -08:00
gl-renderer.c gl-renderer: Keep track of the GL format used for SHM buffers 2014-04-07 09:26:20 -07:00
gl-renderer.h gl-renderer: Remove gl_renderer_interface from gl-renderer.h 2014-04-21 15:43:05 -07:00
input.c libinput: Forward frame events to clients 2014-04-21 16:03:28 -07:00
launcher-util.c launcher-util: Initialize kb_mode also when weston-launch sets up tty 2014-04-30 10:40:39 -07:00
launcher-util.h launcher: add logind backend 2013-10-21 16:23:58 -07:00
libbacklight.c backlight: fix backlight_path memory leak 2014-01-19 21:58:53 -08:00
libbacklight.h Fix a few -pedantic warnings 2012-05-10 14:11:44 -04:00
libinput-device.c libinput: Use floating point instead of fixed point numbers 2014-06-09 22:46:45 +02:00
libinput-device.h Add libinput based input device backend 2014-03-12 14:55:22 -07:00
libinput-seat.c Require libinput 0.4.0 2014-06-25 08:46:35 +02:00
libinput-seat.h Add libinput based input device backend 2014-03-12 14:55:22 -07:00
log.c log: print dummy timestamp if localtime call fails 2014-01-19 21:58:57 -08:00
logind-util.c compositor: Fix a couple of #includes to use "" instead of <> 2014-01-31 22:16:07 -08:00
logind-util.h launcher: add logind backend 2013-10-21 16:23:58 -07:00
noop-renderer.c noop-renderer: Read the shm buffer contents on attach 2014-02-18 13:49:21 -08:00
pixman-renderer.c pixman-renderer: Use width/height_from_buffer for buffer transforms 2014-04-25 14:40:11 -07:00
pixman-renderer.h Add more missing config.h includes 2013-08-16 10:56:00 -07:00
rpi-bcm-stubs.h rpi: Support opaque regions 2013-12-02 11:36:29 -08:00
rpi-renderer.c rpi: build fix for compute_rects debug 2014-05-09 14:10:29 -07:00
rpi-renderer.h rpi: Support opaque regions 2013-12-02 11:36:29 -08:00
screen-share.c screen-share: Allow fullscreen shell command to be configured 2014-06-25 09:05:39 -07:00
screenshooter.c Check zalloc return for out of memory situation 2014-04-25 13:19:51 -07:00
spring-tool.c animation: ensure repaints are always scheduled during animations 2014-06-18 17:14:40 -07:00
text-backend.c text: Set context->model to NULL when we deactivate text input 2014-01-13 15:06:10 -08:00
udev-input.h Add libinput based input device backend 2014-03-12 14:55:22 -07:00
udev-seat.c input: Fix errors due to initializing input before creating outputs 2014-04-25 15:04:04 -07:00
udev-seat.h udev-seat: Make udev_input own its own udev object reference 2014-03-12 14:55:18 -07:00
vaapi-recorder.c vaapi-recorder: Don't loop trying to write on out of space condition 2014-05-09 14:12:38 -07:00
vaapi-recorder.h vaapi-recorder: Don't loop trying to write on out of space condition 2014-05-09 14:12:38 -07:00
version.h.in Document WESTON_VERSION_AT_LEAST() macro behavior 2014-01-27 12:07:19 -08:00
vertex-clipping.c Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float 2013-11-27 22:49:31 -08:00
vertex-clipping.h Remove dependency on <GLES2/gl2.h> by replacing GLfloat with float 2013-11-27 22:49:31 -08:00
weston-egl-ext.h weston-egl: Update weston-egl-ext.h: s/wl_buffer/wl_resource 2013-10-01 10:42:55 -07:00
weston-launch.c configure.ac: Make libdrm optional in weston-launch 2013-11-24 15:16:23 -08:00
weston-launch.h launcher: Handle drm set/drop master and vt switch signals in launcher 2013-09-18 11:14:14 -07:00
weston.pc.in weston.pc: Added libexecdir and pkglibexecdir variables 2013-06-04 00:14:04 -04:00
zoom.c Apply the zoom transformation before the output transformation 2014-05-06 15:36:55 -07:00