weston/clients
Ander Conselvan de Oliveira e018b04c40 window: fix resizing of windows backed by shm buffers
When window_attach_surface() calls window_get_resize_dx_dy(),
window->resize_edges is cleared. However if there is already a pending
surface to be attached, the resize won't be done until the following
call to window_attach_surface(). In this next call, since resize_edges
is now zero, the top-left corner of the window will be unchanged. If
the user is resizing from the top or left border, this causes the
resize to happen in the wrong direction.

This patch changes window_attach_surface() to call
window_get_resize_dx_dy() only if an attach will actually happen.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
2012-01-27 11:17:13 -05:00
..
.gitignore Update .gitignores 2011-12-08 11:36:36 +02:00
cairo-util.c cairo-util: Don't anger png.h by including setjmp.h 2012-01-26 11:36:17 -05:00
cairo-util.h cairo-util: Add png loader and image type sniffing 2012-01-25 16:30:48 -05:00
desktop-shell.c desktop-shell: Build in sensible defaults 2012-01-25 20:53:08 -05:00
dnd.c window: Make decorations just a widget 2012-01-10 22:41:55 -05:00
eventdemo.c window: Make decorations just a widget 2012-01-10 22:41:55 -05:00
flower.c window: Make decorations just a widget 2012-01-10 22:41:55 -05:00
gears.c gears: Make window transparent 2012-01-19 14:05:21 -05:00
glmatrix.c wscreensaver: configure glmatrix 2011-11-18 14:48:39 +02:00
image.c window: Make decorations just a widget 2012-01-10 22:41:55 -05:00
Makefile.am Install terminal as weston-terminal 2012-01-25 14:02:05 -05:00
matrix3.xpm clients: import glmatrix.c and matrix3.xpm 2011-11-18 14:45:04 +02:00
resizor.c window: menu leak fixes 2012-01-19 16:42:05 +02:00
screenshot.c Use new format codes 2012-01-11 14:24:46 -05:00
simple-egl.c Use new format codes 2012-01-11 14:24:46 -05:00
simple-shm.c Use new format codes 2012-01-11 14:24:46 -05:00
simple-touch.c Use new format codes 2012-01-11 14:24:46 -05:00
smoke.c window: Make decorations just a widget 2012-01-10 22:41:55 -05:00
tablet-shell.c cairo-util: Add png loader and image type sniffing 2012-01-25 16:30:48 -05:00
terminal.c window: Make decorations just a widget 2012-01-10 22:41:55 -05:00
view.c view: Make view compile again 2012-01-12 10:48:51 -05:00
window.c window: fix resizing of windows backed by shm buffers 2012-01-27 11:17:13 -05:00
window.h window: menu leak fixes 2012-01-19 16:42:05 +02:00
wscreensaver-glue.c clients: add wscreensaver 2011-11-18 14:46:26 +02:00
wscreensaver-glue.h Never include wayland-util.h directly 2011-11-22 09:35:14 -05:00
wscreensaver.c wscreensaver: get decorations back 2012-01-17 10:59:29 -05:00
wscreensaver.h wscreensaver: Use a widget and a redraw handler 2012-01-10 14:22:22 -05:00