summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-11-09 00:28:21 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-12-01 16:15:28 +0000
commitea12fd7a597d4dc0707bf7e16e5c9fdb65f6aae5 (patch)
treeff056d51563271f3a58f6758594968c213a0f974 /src/desktop.cpp
parentInitial commit of split canvas (diff)
downloadinkscape-ea12fd7a597d4dc0707bf7e16e5c9fdb65f6aae5.tar.gz
inkscape-ea12fd7a597d4dc0707bf7e16e5c9fdb65f6aae5.zip
Adding minor fixes
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 027e6ff45..b3065c2d4 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -1555,7 +1555,7 @@ void SPDesktop::toggleSplitMode()
dtw->splitCanvas(_split_canvas);
GtkAllocation allocation;
gtk_widget_get_allocation(GTK_WIDGET(dtw->canvas), &allocation);
- getCanvas()->requestRedraw(getCanvas()->_x0, getCanvas()->_y0, allocation.width, allocation.height);
+ getCanvas()->requestRedraw(getCanvas()->_x0, getCanvas()->_y0, getCanvas()->_x0 + allocation.width, getCanvas()->_y0 + allocation.height);
}
}