changeset 14343:bee22cd1ab09

8155606: [PIT] Robot's createScreenCapture() broken on Linux Reviewed-by: prr
author ssadetsky
date Fri, 29 Apr 2016 09:45:46 -0700
parents 0d0cbb576c3c
children 844fe87d784d
files src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c	Mon Apr 25 15:09:45 2016 -0700
+++ b/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c	Fri Apr 29 09:45:46 2016 -0700
@@ -265,7 +265,7 @@
     if (isGtkSupported) {
         gtk->gdk_threads_enter();
         gtk_failed = gtk->get_drawable_data(env, pixelArray, x, y, width,
-                                            jwidth, height, dx, dy, scale);
+                                            height, jwidth, dx, dy, scale);
         gtk->gdk_threads_leave();
     }