On 30-May-2002 Martin Egholm Nielsen wrote: > Hi, > > Why is there a limitation on how large I can resize a window? > The limitation is that you cannot make it larger than the > size of the screen - and of course, that seems obvious, and > many may wonder why the heck I would do such a thing... > For example I'd would like to do with xdvi since it insists > of having a border I cannot get rid of, and it consequently > scales the interior. Likewise for acroread, making the > window "really" large (actually just taller: +200 pix.), I > can make the text-part span from top to bottom... > > I guess it is just a simple > if ( newHeight >= screenHeight ) > // Prevent the window from growing > which needs to be "removed"?! >
But if you move the corner off screen you have to work to resize it later. Keeping things on the screen is just more friendly. If you want to hack it the restriction is in Window.cc:BlackboxWindow::constrain(). The line 'dw > client.max_width' and 'dh > client.max_height'. If you find you REALLY need this then uses X's view support. Just set the res higher than you need and it will pan around as you move the mouse, i.e. set it to 1600x1200 yet only view 1280x960.
