72c9d5f9372b — Sebastian Geerken 8 years ago
Fix Layout::viewportSizeChanged.
1 files changed, 2 insertions(+), 4 deletions(-)

M dw/layout.cc
M dw/layout.cc +2 -4
@@ 1301,15 1301,13 @@ void Layout::viewportSizeChanged (View *
 
    /* If size changes, redraw this view. */
    if (viewportWidth != width || viewportHeight != height) {
-      canvasHeightGreater = false;   // reset value here
       viewportWidth = width;
       viewportHeight = height;
-      containerSizeChanged ();
 
-      DBG_OBJ_SET_SYM ("canvasHeightGreater",
-                       canvasHeightGreater ? "true" : "false");
       DBG_OBJ_SET_NUM ("viewportWidth", viewportWidth);
       DBG_OBJ_SET_NUM ("viewportHeight", viewportHeight);
+
+      containerSizeChanged ();
    }
 
    DBG_OBJ_LEAVE ();