summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-07-17 13:09:36 +0200
committerSebastian Geerken <devnull@localhost>2016-07-17 13:09:36 +0200
commit57fae805f2a9ee9f161dde38141f3682bd5eb847 (patch)
tree7916e4594f8c34fd199a9edf09411894b063e0eb
parent4e4ab35ea8a0fef370277739e79588e28ba25f74 (diff)
Fix Layout::viewportSizeChanged.
-rw-r--r--dw/layout.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index 09e27cdb..32586cd5 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -1301,15 +1301,13 @@ void Layout::viewportSizeChanged (View *view, int width, int height)
/* 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 ();