summaryrefslogtreecommitdiffstats
path: root/src/tweak-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tweak-context.cpp')
-rw-r--r--src/tweak-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp
index bd106a1bf..c95657fcb 100644
--- a/src/tweak-context.cpp
+++ b/src/tweak-context.cpp
@@ -1202,7 +1202,7 @@ sp_tweak_context_root_handler(SPEventContext *event_context,
sp_tweak_extinput(tc, event);
- sp_canvas_force_full_redraw_after_interruptions(desktop->canvas, 3);
+ desktop->canvas->forceFullRedrawAfterInterruptions(3);
tc->is_drawing = true;
tc->is_dilating = true;
tc->has_dilated = false;
@@ -1249,7 +1249,7 @@ sp_tweak_context_root_handler(SPEventContext *event_context,
Geom::Point const motion_w(event->button.x, event->button.y);
Geom::Point const motion_dt(desktop->w2d(motion_w));
- sp_canvas_end_forced_full_redraws(desktop->canvas);
+ desktop->canvas->endForcedFullRedraws();
tc->is_drawing = false;
if (tc->is_dilating && event->button.button == 1 && !event_context->space_panning) {