[evolution/gnome-3-24] Bug 783905 - Drag in Minicard view stuck
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-24] Bug 783905 - Drag in Minicard view stuck
- Date: Mon, 19 Jun 2017 11:50:48 +0000 (UTC)
commit fa30fb8fd315932aa3bc314ef1d60b5422a055cd
Author: Milan Crha <mcrha redhat com>
Date: Mon Jun 19 13:46:43 2017 +0200
Bug 783905 - Drag in Minicard view stuck
src/addressbook/gui/widgets/e-minicard.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addressbook/gui/widgets/e-minicard.c b/src/addressbook/gui/widgets/e-minicard.c
index 95bae88..b1680ef 100644
--- a/src/addressbook/gui/widgets/e-minicard.c
+++ b/src/addressbook/gui/widgets/e-minicard.c
@@ -621,13 +621,13 @@ e_minicard_event (GnomeCanvasItem *item,
event->motion.x, event->motion.y)) {
gint ret_val;
- ret_val = e_minicard_drag_begin (e_minicard, event);
-
if (gtk_widget_has_grab (GTK_WIDGET (GNOME_CANVAS_ITEM
(e_minicard)->canvas))) {
gtk_grab_remove (GTK_WIDGET (GNOME_CANVAS_ITEM (e_minicard)->canvas));
gnome_canvas_item_ungrab (GNOME_CANVAS_ITEM (e_minicard),
event->motion.time);
}
+ ret_val = e_minicard_drag_begin (e_minicard, event);
+
e_minicard->drag_button = 0;
e_minicard->drag_button_down = FALSE;
e_minicard->button_x = -1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]