Get the pointer grab from the compositor's input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-16 11:55:50 +01:00
parent 9e371c10c8
commit 1dca808f98
1 changed files with 2 additions and 1 deletions

View File

@ -1631,7 +1631,8 @@ _e_wl_shell_shell_surface_cb_pong(struct wl_client *client EINA_UNUSED, struct w
E_Wayland_Shell_Grab *grab = NULL;
ews = ewss->surface;
grab = (E_Wayland_Shell_Grab *)ews->input->wl.seat.pointer->grab;
grab = (E_Wayland_Shell_Grab *)_e_wl_comp->input->wl.seat.pointer->grab;
if (grab->grab.interface == &_e_busy_grab_interface)
{
_e_wl_shell_grab_end(grab);