From ea12fd7a597d4dc0707bf7e16e5c9fdb65f6aae5 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Fri, 9 Nov 2018 01:28:21 +0100 Subject: Adding minor fixes --- src/desktop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/desktop.cpp') 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); } } -- cgit v1.2.3