]> git.0d.be Git - empathy.git/commitdiff
Darken the rectangles when starting a drag operation
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Wed, 10 Aug 2011 09:37:46 +0000 (10:37 +0100)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Mon, 15 Aug 2011 11:14:55 +0000 (12:14 +0100)
So that if we have just dragged it, the rectangle where
it was before isn't highlighted.

https://bugzilla.gnome.org/show_bug.cgi?id=656268

src/empathy-call-window.c

index 5e15fba70babdade4d93d7b04fe1c2d19bef555b..7f7ee8cd20d7709fed8c9b8b45f27d51e95f1ad6 100644 (file)
@@ -774,6 +774,7 @@ empathy_call_window_preview_on_drag_begin_cb (ClutterDragAction *action,
     EmpathyCallWindow *self)
 {
   empathy_call_window_show_preview_rectangles (self, TRUE);
+  empathy_call_window_darken_preview_rectangles (self);
 
   self->priv->event_x = event_x;
   self->priv->event_y = event_y;