617
649
_thunar_return_val_if_fail (abstract_icon_view->priv->gesture_motion_id > 0, FALSE);
618
650
_thunar_return_val_if_fail (abstract_icon_view->priv->gesture_release_id > 0, FALSE);
620
655
/* shade the abstract_icon view content while performing mouse gestures */
622
656
bg = GTK_WIDGET (view)->style->base[GTK_STATE_NORMAL];
623
657
cairo_set_source_rgba (cr, bg.red / 65535.0, bg.green / 65535.0, bg.blue / 65535.0, 0.7);
624
cairo_rectangle (cr, event->area.x, event->area.y, event->area.width, event->area.height);
629
660
/* determine the gesture action */
630
661
action = thunar_abstract_icon_view_gesture_action (abstract_icon_view);