Re: [PATCH] window: fix resizing of windows backed by shm buffers

2012-01-27 Thread Kristian Høgsberg
On Fri, Jan 27, 2012 at 10:17 AM, Ander Conselvan de Oliveira wrote: > 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_atta

[PATCH] window: fix resizing of windows backed by shm buffers

2012-01-27 Thread Ander Conselvan de Oliveira
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