diff options
author | tissoire | 2007-12-20 17:49:39 +0000 |
---|---|---|
committer | tissoire | 2007-12-20 17:49:39 +0000 |
commit | 6852aa18246c9acb79a453f899f64396f85da490 (patch) | |
tree | c0ffcb8f19efa398cec7290550795e5f7f83a086 /src | |
parent | 7f03541f4c60c9ff3296ea0247778c7007c601b7 (diff) | |
download | ivypointer-6852aa18246c9acb79a453f899f64396f85da490.zip ivypointer-6852aa18246c9acb79a453f899f64396f85da490.tar.gz ivypointer-6852aa18246c9acb79a453f899f64396f85da490.tar.bz2 ivypointer-6852aa18246c9acb79a453f899f64396f85da490.tar.xz |
bug...
Diffstat (limited to 'src')
-rw-r--r-- | src/ivypointer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |