From: Jim Evins Date: Sun, 21 Dec 2008 19:54:27 +0000 (+0000) Subject: 2008-12-21 Jim Evins X-Git-Tag: glabels-2_2_5~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eb69c885bee022e5617b4c99e7f6b34de68965a3;p=glabels 2008-12-21 Jim Evins * src/view.c: (motion_notify_event_cb), (button_press_event_cb): Don't check for handles on aggregate selections. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/branches/glabels-2_2@808 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 05f6c6c8..f517baff 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,8 @@ +2008-12-21 Jim Evins + + * src/view.c: (motion_notify_event_cb), (button_press_event_cb): + Don't check for handles on aggregate selections. + 2008-12-18 Jim Evins * src/view.c: (selection_received_cb): diff --git a/glabels2/src/view.c b/glabels2/src/view.c index e5962394..eb3bfc67 100644 --- a/glabels2/src/view.c +++ b/glabels2/src/view.c @@ -3220,7 +3220,8 @@ motion_notify_event_cb (glView *view, { case GL_VIEW_IDLE: - if (view_handle_at (view, cr, event->x, event->y, &handle)) + if ( gl_view_is_selection_atomic (view) && + view_handle_at (view, cr, event->x, event->y, &handle) ) { cursor = gdk_cursor_new (GDK_CROSSHAIR); } @@ -3365,7 +3366,8 @@ button_press_event_cb (glView *view, switch (view->mode) { case GL_VIEW_MODE_ARROW: - if ((view_object = view_handle_at (view, cr, event->x, event->y, &handle))) + if ( gl_view_is_selection_atomic (view) && + (view_object = view_handle_at (view, cr, event->x, event->y, &handle)) ) { view->resize_object = view_object; view->resize_handle = handle;