Changeset c8e2ac5 in mainline
 Timestamp:
 20121125T07:00:04Z (11 years ago)
 Branches:
 lfn, master, serial, ticket/834toolchainupdate, topic/msimupgrade, topic/simplifydevexport
 Children:
 f698054
 Parents:
 563573b
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

uspace/srv/hid/compositor/compositor.c
r563573b rc8e2ac5 286 286 sysarg_t y[4]; 287 287 comp_coord_from_client(x_in, y_in, win_trans, &x[0], &y[0]); 288 comp_coord_from_client(x_in + w_in , y_in, win_trans, &x[1], &y[1]);289 comp_coord_from_client(x_in + w_in , y_in + h_in, win_trans, &x[2], &y[2]);290 comp_coord_from_client(x_in, y_in + h_in , win_trans, &x[3], &y[3]);288 comp_coord_from_client(x_in + w_in  1, y_in, win_trans, &x[1], &y[1]); 289 comp_coord_from_client(x_in + w_in  1, y_in + h_in  1, win_trans, &x[2], &y[2]); 290 comp_coord_from_client(x_in, y_in + h_in  1, win_trans, &x[3], &y[3]); 291 291 (*x_out) = x[0]; 292 292 (*y_out) = y[0]; … … 555 555 } else { 556 556 fibril_mutex_lock(&window_list_mtx); 557 comp_coord_bounding_rect(x , y, width, height,557 comp_coord_bounding_rect(x  1, y  1, width + 2, height + 2, 558 558 win>transform, &x, &y, &width, &height); 559 559 fibril_mutex_unlock(&window_list_mtx); … … 1150 1150 1151 1151 if ((pointer>grab_flags & GF_SCALE_X)  (pointer>grab_flags & GF_RESIZE_X)) { 1152 double fx = 1.0 + (_dx / ( width* win>fx));1152 double fx = 1.0 + (_dx / ((width  1) * win>fx)); 1153 1153 if (fx > 0) { 1154 1154 win>fx *= fx; … … 1158 1158 1159 1159 if ((pointer>grab_flags & GF_SCALE_Y)  (pointer>grab_flags & GF_RESIZE_Y)) { 1160 double fy = 1.0 + (_dy / ( height* win>fy));1160 double fy = 1.0 + (_dy / ((height  1) * win>fy)); 1161 1161 if (fy > 0) { 1162 1162 win>fy *= fy; … … 1228 1228 1229 1229 if ((pointer>grab_flags & GF_SCALE_X)  (pointer>grab_flags & GF_RESIZE_X)) { 1230 double fx = 1.0 + (_dx / ( width* pointer>ghost.fx));1230 double fx = 1.0 + (_dx / ((width  1) * pointer>ghost.fx)); 1231 1231 pointer>ghost.fx *= fx; 1232 1232 } 1233 1233 1234 1234 if ((pointer>grab_flags & GF_SCALE_Y)  (pointer>grab_flags & GF_RESIZE_Y)) { 1235 double fy = 1.0 + (_dy / ( height* pointer>ghost.fy));1235 double fy = 1.0 + (_dy / ((height  1) * pointer>ghost.fy)); 1236 1236 pointer>ghost.fy *= fy; 1237 1237 }
Note:
See TracChangeset
for help on using the changeset viewer.