[comp.windows.x] Pixmap size restriction?

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (06/13/88)

    Date: 9 Jun 88 17:33:14 GMT
    From: anton@postgres.berkeley.edu  (Jeff Anton)

    Now, the server doesn't let
    me create a window which is a direct decendant of the RootWindow with a
    dimension that is greater than the RootWindow dimension.

    Pixmaps have the same restrictions as direct decendants of the
    RootWindow.

Nonsense.  Although a window manager might restrict the size of a
window, the server doesn't restrict the size of windows or pixmaps.
Typing at CLX, against a Sun 3/160 server running -mono:

 (setq dpy (xlib:open-display "expire"))
#<XLIB:DISPLAY expire 0 53341161>
  (xlib:drawable-width (xroot dpy))
1152
  (xlib:drawable-height (xroot dpy))
900
  (setq pix (xlib:create-pixmap :width 3000 :height 3000 :depth 1 :drawable (xroot dpy)))
#S(XLIB:PIXMAP :ID 10485761
               :DISPLAY #<XLIB:DISPLAY expire 0 53341161>
               :PLIST NIL)
  (xlib:drawable-width pix)
3000
  (xlib:drawable-height pix)
3000
  (setq win (xlib:create-window :parent (xroot dpy) :x 0 :y 0 :width 2048 :height 2048))
#S(XLIB:WINDOW :ID 10485762
               :DISPLAY #<XLIB:DISPLAY expire 0 53341161>
               :PLIST NIL)
  (xlib:map-window win)
NIL
  (xlib:window-map-state win)
:VIEWABLE
  (xlib:drawable-width win)
2048
  (xlib:drawable-height win)
2048