ecore-wayland: Don't set move cursor unless we actually start a drag

Summary: We should not be setting a 'move' cursor unless we actually
make the call to start a drag

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-13 11:23:27 -05:00
parent bb8b00b956
commit 70f0bc47ed
1 changed files with 3 additions and 3 deletions

View File

@ -247,10 +247,10 @@ ecore_wl_dnd_drag_start(Ecore_Wl_Input *input, Ecore_Wl_Window *win, Ecore_Wl_Wi
wl_data_device_start_drag(input->data_device, input->data_source,
origin_surface, drag_surface,
input->display->serial);
}
/* set pointer image */
ecore_wl_input_cursor_from_name_set(input, "move");
/* set pointer image */
ecore_wl_input_cursor_from_name_set(input, "move");
}
/* NB: Below code disabled for now
*