From bcb541cbdf6f64134148065390204c52eeb73e90 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 16 Apr 2007 23:15:25 +0000 Subject: [PATCH] fix selecting in groups with alt --- src/select-context.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/select-context.cpp b/src/select-context.cpp index f6abf44f5..1457b7603 100644 --- a/src/select-context.cpp +++ b/src/select-context.cpp @@ -627,10 +627,11 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) } else if ((sc->button_press_ctrl || sc->button_press_alt) && !rb_escaped && !drag_escaped) { // ctrl+click, alt+click - sc->button_press_ctrl = FALSE; - item = sp_event_context_find_item (desktop, - NR::Point(event->button.x, event->button.y), event->button.state & GDK_MOD1_MASK, TRUE); + NR::Point(event->button.x, event->button.y), sc->button_press_alt, sc->button_press_ctrl); + + sc->button_press_ctrl = FALSE; + sc->button_press_alt = FALSE; if (item) { if (selection->includes(item)) { -- 2.30.2