diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-08-16 08:02:18 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-08-16 18:14:36 +0800 |
commit | b5f6788106bbd8c3e06fef09edb533812114afa7 (patch) | |
tree | 7b93e9f65f54a06723040f1d8bb07067c9b17f2f /src | |
parent | f513e634f70f65fb5d3cc947ef139a89ac98f4b4 (diff) | |
download | gsoc2013-empathy-b5f6788106bbd8c3e06fef09edb533812114afa7.tar gsoc2013-empathy-b5f6788106bbd8c3e06fef09edb533812114afa7.tar.gz gsoc2013-empathy-b5f6788106bbd8c3e06fef09edb533812114afa7.tar.bz2 gsoc2013-empathy-b5f6788106bbd8c3e06fef09edb533812114afa7.tar.lz gsoc2013-empathy-b5f6788106bbd8c3e06fef09edb533812114afa7.tar.xz gsoc2013-empathy-b5f6788106bbd8c3e06fef09edb533812114afa7.tar.zst gsoc2013-empathy-b5f6788106bbd8c3e06fef09edb533812114afa7.zip |
Get the preview position from preview_pos
Getting it from the coordinates might fail if the system
is too slow and gives us bad coordinates.
https://bugzilla.gnome.org/show_bug.cgi?id=656572
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-call-window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 5bcf4644a..8517d9d19 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -898,12 +898,12 @@ empathy_call_window_preview_enter_event_cb (ClutterActor *actor, EmpathyCallWindow *self) { ClutterActor *rectangle; - PreviewPosition pos; - pos = empathy_call_window_get_preview_position (self, event->x, event->y); - rectangle = empathy_call_window_get_preview_rectangle (self, pos); + rectangle = empathy_call_window_get_preview_rectangle (self, + self->priv->preview_pos); - empathy_call_window_highlight_preview_rectangle (self, pos); + empathy_call_window_highlight_preview_rectangle (self, + self->priv->preview_pos); clutter_actor_show (rectangle); |