Skip to content

Commit f2f4796

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

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
@@ -3635,6 +3635,10 @@ static Bool intersect(int ax1, int ay1, unsigned int aw, unsigned int ah,
36353635
int bx1, int by1, unsigned int bw, unsigned int bh,
36363636
int *x, int *y, unsigned int *w, unsigned int *h)
36373637
{
3638+
#ifdef DEBUG
3639+
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));
3640+
#endif
3641+
36383642
int tx1, ty1, tx2, ty2, ix, iy;
36393643
unsigned int iw, ih;
36403644

0 commit comments

Comments
 (0)