Skip to content

Commit

Permalink
nx-X11/programs/Xserver/hw/nxagent/Screen.c: add debugging to interse…
Browse files Browse the repository at this point in the history
…ct for non-feasible intersections.
  • Loading branch information
Ionic committed Jun 4, 2018
1 parent 541d98e commit 5a3a1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-X11/programs/Xserver/hw/nxagent/Screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -3669,7 +3669,7 @@ static Bool intersect(int ax1, int ay1, unsigned int aw, unsigned int ah,
if (iw <= 0 || ih <= 0) {

#ifdef DEBUG
fprintf(stderr, "intersect: intersection rectangle not feasible\n");
fprintf(stderr, "%s: intersection rectangle not feasible: width [%u], calculated as ([%d] - [%d]) [%u]; height [%u], calculated as ([%d] - [%d]) [%u]\n", __func__, iw, tx2, tx1, (tx2 - tx1), ih, ty2, ty1, (ty2 - ty1));
#endif

return FALSE;
Expand Down

0 comments on commit 5a3a1f4

Please sign in to comment.