diff --git a/GUI/xephem/tips.c b/GUI/xephem/tips.c index 390b200..4ff3132 100644 --- a/GUI/xephem/tips.c +++ b/GUI/xephem/tips.c @@ -45,7 +45,6 @@ static void tip_sort (void); #define VOFFSET 15 /* dist from pointer to window top, pixels */ #define EDGE 10 /* min space to edge of screen */ #define TIPTO 1100 /* time to wait before raising tip, ms */ -#define MAXDW 1280 /* max dsp width, beware large virtual roots */ static Tip *tips; /* all current tips -- w==0 when not in use */ static int ntips; /* total tips in tips[] */ @@ -298,8 +297,6 @@ Tip *tp; hei = oa.ascent + oa.descent + 2*GAP; /* set position near pointer but never over it and beware screen edge */ - if (dw > MAXDW) - dw = MAXDW; XQueryPointer (dsp, win, &root, &child, &x, &y, &wx, &wy, &pqmask); if (x + wid + 2*BW > dw-EDGE) x = dw-EDGE - wid - 2*BW;