diff options
Diffstat (limited to 'src/solaris/classes/sun/awt/motif/MComponentPeer.java')
-rw-r--r-- | src/solaris/classes/sun/awt/motif/MComponentPeer.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/solaris/classes/sun/awt/motif/MComponentPeer.java b/src/solaris/classes/sun/awt/motif/MComponentPeer.java index 23c06c363..87f556c93 100644 --- a/src/solaris/classes/sun/awt/motif/MComponentPeer.java +++ b/src/solaris/classes/sun/awt/motif/MComponentPeer.java @@ -1,5 +1,5 @@ /* - * Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -1138,11 +1138,14 @@ abstract class MComponentPeer implements ComponentPeer, DropTargetPeer, X11Compo backBuffer); } - public void flip(BufferCapabilities.FlipContents flipAction) { + public void flip(int x1, int y1, int x2, int y2, + BufferCapabilities.FlipContents flipAction) + { if (backBuffer == 0) { throw new IllegalStateException("Buffers have not been created"); } - graphicsConfig.flip(this, target, xBackBuffer, flipAction); + graphicsConfig.flip(this, target, xBackBuffer, + x1, y1, x2, y2, flipAction); } public Image getBackBuffer() { |