[ease] Grab the pointer.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] Grab the pointer.
- Date: Wed, 19 May 2010 03:30:12 +0000 (UTC)
commit 6c39937d0b1ce4f7099e118a2ded39fbb153925d
Author: Nate Stedman <natesm gmail com>
Date: Tue May 18 23:25:04 2010 -0400
Grab the pointer.
src/libease/EditorEmbed.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libease/EditorEmbed.vala b/src/libease/EditorEmbed.vala
index abff452..cc614da 100644
--- a/src/libease/EditorEmbed.vala
+++ b/src/libease/EditorEmbed.vala
@@ -241,6 +241,7 @@ namespace Ease
{
is_dragging = true;
is_drag_ready = false;
+ Clutter.grab_pointer(sender);
return true;
}
@@ -279,6 +280,7 @@ namespace Ease
if (sender == selected && is_dragging)
{
is_dragging = false;
+ Clutter.ungrab_pointer();
}
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]