diff --git a/src/callback.c b/src/callback.c index 7b3caaca..b9148f0d 100644 --- a/src/callback.c +++ b/src/callback.c @@ -3394,7 +3394,6 @@ int rstate; /* (reduced state, without ShiftMask) */ if(!xctx->intuitive_interface && no_shift_no_ctrl ) unselect_all(1); sel = find_closest_obj(xctx->mousex, xctx->mousey, 0); - if(xctx->intuitive_interface && /* !sel.type && */ no_shift_no_ctrl ) unselect_all(1); switch(sel.type) { @@ -3408,6 +3407,8 @@ int rstate; /* (reduced state, without ShiftMask) */ default: break; } /*end switch */ + if(xctx->intuitive_interface && !already_selected && no_shift_no_ctrl ) unselect_all(1); + if(!already_selected) select_object(xctx->mousex, xctx->mousey, SELECTED, 0, &sel); rebuild_selected_array();