diff --git a/src/star-context.cpp b/src/star-context.cpp
index 5361219aa7c105fa61249b091306568bc67900cc..a004426081af848b10bcbc15851afa57b04f3b60 100644 (file)
--- a/src/star-context.cpp
+++ b/src/star-context.cpp
@@ -281,7 +281,7 @@ static gint sp_star_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 star
sp_star_finish (sc);