8155606: [PIT] Robot's createScreenCapture() broken on Linux
authorssadetsky
Fri, 29 Apr 2016 09:45:46 -0700
changeset 37715 2feccf1e9f89
parent 37714 7a0b1c7e7054
child 37716 86e2f05984f9
8155606: [PIT] Robot's createScreenCapture() broken on Linux Reviewed-by: prr
jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c
--- a/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c	Mon Apr 25 15:09:45 2016 -0700
+++ b/jdk/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();
     }