1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11/xgrab/files/patch-ab

25 lines
498 B
Plaintext
Raw Normal View History

*** 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
}