diff options
Diffstat (limited to 'src/ivypointer.c')
-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); |