From: buliabyak Date: Mon, 16 Apr 2007 23:15:25 +0000 (+0000) Subject: fix selecting in groups with alt X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bcb541cbdf6f64134148065390204c52eeb73e90;p=inkscape.git fix selecting in groups with alt --- 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)) {