From 6852aa18246c9acb79a453f899f64396f85da490 Mon Sep 17 00:00:00 2001 From: tissoire Date: Thu, 20 Dec 2007 17:49:39 +0000 Subject: bug... --- src/ivypointer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ivypointer.c b/src/ivypointer.c index fc32379..5a6a76d 100644 --- a/src/ivypointer.c +++ b/src/ivypointer.c @@ -196,6 +196,8 @@ void CallbackGeometry(IvyClientPtr app, void *user_data, int argc, char *argv[]) coords_input[1] = y0; coords_input[2] = x1; coords_input[3] = y1; + width_input = coords_input[2]-coords_input[0]; + height_input = coords_input[3]-coords_input[1]; print_coords_input(); } else { printf("bad coords received : %.0f,%.0f %.0f,%.0f\n",x0,y0,x1,y1); -- cgit v1.1