Lines Matching refs:win2
41 touchoverlap(win1, win2) in touchoverlap() argument
42 register WINDOW *win1, *win2; in touchoverlap()
47 __CTRACE("touchoverlap: (%0.2o, %0.2o);\n", win1, win2);
49 starty = max(win1->begy, win2->begy);
50 startx = max(win1->begx, win2->begx);
51 endy = min(win1->maxy + win1->begy, win2->maxy + win2->begx);
52 endx = min(win1->maxx + win1->begx, win2->maxx + win2->begx);
60 win2->begy, win2->begx, win2->begy + win2->maxy,
61 win2->begx + win2->maxx);
65 starty -= win2->begy;
66 startx -= win2->begx;
67 endy -= win2->begy;
68 endx -= win2->begx;
70 __touchline(win2, y, startx, endx, 0);