# HG changeset patch # User ssadetsky # Date 1461948346 25200 # Node ID 2feccf1e9f8913c1f9f71a8906e075ff58b93e5f # Parent 7a0b1c7e70549528de8aa615f8de3737b3d104d7 8155606: [PIT] Robot's createScreenCapture() broken on Linux Reviewed-by: prr diff -r 7a0b1c7e7054 -r 2feccf1e9f89 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(); }