Re: [PATCH] Only update the surface size if a new buffer is attached

2014-01-13 Thread Kristian Høgsberg
On Sat, Jan 11, 2014 at 12:12:19PM -0600, Jason Ekstrand wrote: > This fixes a regression caused by either 918f2dd4 or da75ee1d. In > particular, if a client called commit without attaching a buffer and if the > compositor had already released its reference to the buffer, then a size of > 0x0 woul

Re: [PATCH] Only update the surface size if a new buffer is attached

2014-01-12 Thread Pekka Paalanen
On Sat, 11 Jan 2014 12:12:19 -0600 Jason Ekstrand wrote: > This fixes a regression caused by either 918f2dd4 or da75ee1d. In > particular, if a client called commit without attaching a buffer > and if the compositor had already released its reference to the > buffer, then a size of 0x0 would be

[PATCH] Only update the surface size if a new buffer is attached

2014-01-11 Thread Jason Ekstrand
This fixes a regression caused by either 918f2dd4 or da75ee1d. In particular, if a client called commit without attaching a buffer and if the compositor had already released its reference to the buffer, then a size of 0x0 would be set on the surface. In particular, this affects the wayland backen