Message ID | 20110624162135.19375.51612.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/composite-canvas.cc' --- src/composite-canvas.cc 2011-06-24 13:44:02 +0000 +++ src/composite-canvas.cc 2011-06-24 16:19:16 +0000 @@ -366,12 +366,12 @@ } else if (event.type == ConfigureNotify) { window = event.xconfigure.window; - width_ = event.xconfigure.width; - height_ = event.xconfigure.height; Log::debug("Configure Win: 0x%x %d x %d\n", window, width_, height_); if (window == canvas_) { + width_ = event.xconfigure.width; + height_ = event.xconfigure.height; reshape(width_, height_); } else