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 Jul 13, 2018
1 parent 287338f commit 83f69b1
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 @@ -3625,6 +3625,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 83f69b1

Please sign in to comment.