Apple X11 - can we guarantee the resize handle is visible?

Stephen J. Turnbull stephen at xemacs.org
Mon Mar 31 00:39:28 EDT 2008


skip at pobox.com writes:

 > So I ssh'd into my machine at work from my Mac at home and ran
 > 
 >     gnuclient -q
 > 
 > to connect to the XEmacs instance I left running over the weekend.  I don't
 > recall what the font/font size settings were, but the resulting 80x63 frame
 > that popped up on my Mac extended beyond the bottom of the display.

I don't know why this happens, unless you have things set to make
windows that big.  Since I've seen similar issues, I suspect that
Apple's window manager tells XEmacs that it should make a window (-
display-height apple-menu-height title-bar-height) pixels high, and
XEmacs does that, then adds its own decorations without subtracting
their sizes (menubar, toolbar, tabs).  Use `x-display-pixel-height'
and `x-display-pixel-width' to get the display dimensions.  On my
iBook G4, `(set-frame-pixel-height (- (x-display-pixel-height) 65))'
gives good results (ie, vertically maximized).

 > Is this somehow possiable?

By hand, yes.  Doing it by default should be based on knowing WTF the
Mac is trying to accomplish.



More information about the XEmacs-Beta mailing list