clouseau: Line now is created only on center or right mouse button

Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 72353
This commit is contained in:
Aharon Hillel 2012-06-18 07:23:09 +00:00 committed by Tom Hacohen
parent a4cea7f8d6
commit 16edf65bca
1 changed files with 2 additions and 2 deletions

View File

@ -728,8 +728,8 @@ libclouseau_make_line(void *data,
Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
if (((Evas_Event_Mouse_Down *) event_info)->button != 1)
return; /* We only process left-click at the moment */
if (((Evas_Event_Mouse_Down *) event_info)->button == 1)
return; /* make line only if not left mouse button */
bmp_info_st *st = data;
Evas_Coord xx, yy, x_bmp, y_bmp, w_bmp, h_bmp;