1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/xgrab/files/patch-ab
1995-02-27 02:47:49 +00:00

25 lines
498 B
Plaintext

*** xgrabsc.c~ Mon Jun 28 18:14:49 1993
--- xgrabsc.c Mon Feb 27 03:17:58 1995
***************
*** 246,251 ****
--- 246,252 ----
int ScreenNumberOfScreen (scr)
register Screen *scr;
{
+ #ifdef BROKEN
register Display *dpy = scr->display;
register Screen *dpyscr = dpy->screens;
register int i;
***************
*** 254,259 ****
--- 255,263 ----
if (scr == dpyscr) return i;
}
return -1;
+ #else
+ return XScreenNumberOfScreen (scr);
+ #endif
}