Bugs item #677661, was opened at 2003-01-30 11:06
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428680&aid=677661&group_id=40696

Category: Behaviour
Group: CVS
Status: Open
Resolution: None
Priority: 9
Submitted By: Sean 'Shaleh' Perry (shaleh)
Assigned to: Sean 'Shaleh' Perry (shaleh)
Summary: resizing a window too small leads to assert

Initial Comment:
take any window and resize it as small as possible.  blackbox will 
then hit an assert in the imaging code because we send it a 
negative window width. 
 
Enclosed is a patch which solves this problem by setting the 
client.min_width variable to (button_w * 4) + 5 which gives enough 
room for the toolbar buttons and the title.  it is a bit of a hack right 
now, but the idea is sound. 
 
The patch also updates the XColorTable::pixel() to assert(0) when 
the switch would hit an unknown number and hit the return 0 line. 
 
That last piece is a bit of slop but harmless. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428680&aid=677661&group_id=40696

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to