Skip to content

Commit 83f69b1

Browse files
committed
nx-X11/programs/Xserver/hw/nxagent/Screen.c: add more debugging to intersect(), TO BE REMOVED later.
1 parent 287338f commit 83f69b1

File tree

1 file changed

+4
-0
lines changed
  • nx-X11/programs/Xserver/hw/nxagent

1 file changed

+4
-0
lines changed

nx-X11/programs/Xserver/hw/nxagent/Screen.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3625,6 +3625,10 @@ static Bool intersect(int ax1, int ay1, unsigned int aw, unsigned int ah,
36253625
int bx1, int by1, unsigned int bw, unsigned int bh,
36263626
int *x, int *y, unsigned int *w, unsigned int *h)
36273627
{
3628+
#ifdef DEBUG
3629+
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));
3630+
#endif
3631+
36283632
int tx1, ty1, tx2, ty2, ix, iy;
36293633
unsigned int iw, ih;
36303634

0 commit comments

Comments
 (0)