summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/select-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/select-tool.cpp')
-rw-r--r--src/ui/tools/select-tool.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui/tools/select-tool.cpp b/src/ui/tools/select-tool.cpp
index 2627f2e9a..553b021a2 100644
--- a/src/ui/tools/select-tool.cpp
+++ b/src/ui/tools/select-tool.cpp
@@ -799,8 +799,13 @@ bool SelectTool::root_handler(GdkEvent* event) {
sp_canvas_item_ungrab(this->grabbed);
this->grabbed = nullptr;
}
-
- desktop->updateNow();
+ desktop->canvas->endForcedFullRedraws(); // we want this forced redraw always with this tool
+ if (event->button.button == 1) {
+ // we want redraw of all dirty regions on relase
+ desktop->canvas->_forcefull = true;
+ }
+ // Think is not necesary now
+ // desktop->updateNow();
}
if (event->button.button == 1) {