|
From: | Adam Fedor |
Subject: | Re: dragging image outside screen lead to crash |
Date: | Tue, 20 Nov 2001 20:32:20 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.4) Gecko/20010915 |
Wim Oudshoorn wrote:
As observed earlier, dragging an image outside the screen leads to a crash. Reason for this is the fact that the call XGetImage only succeeds when the image is entirily on the screen (not necessarily visible) While fixing the functions involved I also changed occurences of NSRect to XRectangle when the coordinatesare Xcoordinates. This gets rid of a lot of floats and problems when using non-integer coordinates.
I added this patch. Thanks. -- Adam Fedor, Digital Optics | Fudd's law of opposition: Push fedor@doc.com http://www.doc.com | something hard enough, and it fedor@gnu.org http://www.gnustep.org | will fall over.
[Prev in Thread] | Current Thread | [Next in Thread] |