< prev index next >

src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m

Print this page

        

*** 322,332 **** jint picY = y; jint picWidth = width; jint picHeight = height; CGRect screenRect = CGRectMake(picX / scale, picY / scale, ! picWidth / scale, picHeight / scale); CGImageRef screenPixelsImage = CGWindowListCreateImage(screenRect, kCGWindowListOptionOnScreenOnly, kCGNullWindowID, kCGWindowImageBestResolution); if (screenPixelsImage == NULL) { --- 322,332 ---- jint picY = y; jint picWidth = width; jint picHeight = height; CGRect screenRect = CGRectMake(picX / scale, picY / scale, ! picWidth / scale, picHeight / scale); CGImageRef screenPixelsImage = CGWindowListCreateImage(screenRect, kCGWindowListOptionOnScreenOnly, kCGNullWindowID, kCGWindowImageBestResolution); if (screenPixelsImage == NULL) {
< prev index next >