Re: Fix: NSWindow, constrainFrameRect

2002-10-09 Thread Adam Fedor
Georg Fleischmann wrote: > > 2002-08-30 Georg Fleischmann > * gui/Source/NSWindow.m [-constrainFrameRect]: > move window inside screen, if window top is below screen I added this (modified slightly). -- Adam Fedor, Digital Optics Corp. | I'm glad I hate spinach, because htt

Fix: NSWindow, constrainFrameRect

2002-10-09 Thread Georg Fleischmann
Hi, here is a little fix for NSWindow's constrain method. The patch brings the window back inside screen, if the window has dropped through the bottom of the screen (window top < screen). Without the patch only windows with the top above the top of the screen are moved into the screen. Georg