This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: Fix painting of lightweight AWT children


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.

Attachment: 20060232_xlibAndHitClipFix.patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]