[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XLIB:DISPLAY-NSCREENS seems broken in R3



   >     XLIB:DISPLAY-NSCREENS does not appear to return the correct number of scree
   >    ns
   >     that a display has in R3.  Is this a known bug ?
   > 
   > 
   >     This happened on Genera 7.2.
   > 
   >     > (setq p (xlib:open-display "prom"))
   >     #<XLIB:DISPLAY prom 0 434000020>
   >     > (xlib:display-nscreens p)
   >     1
   >     > (xlib:display-roots p)
   >     (#S(XLIB:SCREEN...) #S(XLIB:SCREEN ...))
   > 
   >     -- jim
   >     salem@think.com
   > --------
   > 
   > Looks like you're the first person ever to use it!  :-\
   > It's default value is 1, and it is never set.
   > 
   > Personally I think it should be removed entirely.  It seems pretty simple
   > to just use:
   > 
   > (length (xlib:display-roots display))
   > 
   > which is equivalent, no?
   > 
   > 	-- John

Agreed.