Skip to content

Commit

Permalink
nx-X11/programs/Xserver/hw/nxagent/Screen.c: add more debugging to in…
Browse files Browse the repository at this point in the history
…tersect(), TO BE REMOVED later.
  • Loading branch information
Ionic committed Jun 4, 2018
1 parent 0a2c49f commit fe3f753
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nx-X11/programs/Xserver/hw/nxagent/Screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -3635,6 +3635,10 @@ static Bool intersect(int ax1, int ay1, unsigned int aw, unsigned int ah,
int bx1, int by1, unsigned int bw, unsigned int bh,
int *x, int *y, unsigned int *w, unsigned int *h)
{
#ifdef DEBUG
fprintf(stderr, "%s: DEBUG: [(%d, %d) -> (%u, %u)]; [(%d, %d) -> (%u, %u)]; [%p], [%p], [%p], [%p]\n", __func__, ax1, ay1, aw, ah, bx1, by1, bw, bh, (void*)(x), (void*)(y), (void*)(w), (void*)(h));
#endif

int tx1, ty1, tx2, ty2, ix, iy;
unsigned int iw, ih;

Expand Down

0 comments on commit fe3f753

Please sign in to comment.