Patch: FYI: Fix painting of lightweight AWT children

Scott Gilbertson scottg@mantatest.com
Thu Feb 23 20:57:00 GMT 2006


I just checked these changes in.

Further to:
http://gcc.gnu.org/ml/java-patches/2006-q1/msg00212.html
The Classpath parts have been checked in upstream, so I merged those files
back.

With the patch, the following program now works with XLIB peers:
http://gcc.gnu.org/ml/java/2006-02/msg00048/LightweightRepaintTest.java

Index: libjava/ChangeLog

 * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
 before returning, handle null clip.
 (getClipBounds): Handle null clip.
 * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
 * gnu/awt/xlib/XCanvasPeer.java ():
 (getLocationOnScreen): Implement.
 * classpath/gnu/java/awt/peer/GLightweightPeer.java
 (repaint): Merged with Classpath.
 * classpath/java/awt/Graphics.java (hitClip): Merged with
 Classpath.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20060232_xlibAndHitClipFix.patch.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060223/30a9aefe/attachment.txt>


More information about the Java-patches mailing list