summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rect-context.cpp')
-rw-r--r--src/rect-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp
index 9c1c704dd..c05f00759 100644
--- a/src/rect-context.cpp
+++ b/src/rect-context.cpp
@@ -306,7 +306,7 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent
event_context->xp = event_context->yp = 0;
if (event->button.button == 1 && !event_context->space_panning) {
dragging = false;
- sp_event_context_snap_window_closed(event_context);
+ sp_event_context_snap_window_closed(event_context, false); //button release will also occur on a double-click; in that case suppress warnings
if (!event_context->within_tolerance) {
// we've been dragging, finish the rect