equal
deleted
inserted
replaced
1432 fbrects[screen].y, |
1432 fbrects[screen].y, |
1433 fbrects[screen].width, |
1433 fbrects[screen].width, |
1434 fbrects[screen].height); |
1434 fbrects[screen].height); |
1435 } |
1435 } |
1436 else { |
1436 else { |
|
1437 XWindowAttributes xwa; |
|
1438 memset(&xwa, 0, sizeof(xwa)); |
|
1439 |
|
1440 AWT_LOCK (); |
|
1441 XGetWindowAttributes(awt_display, |
|
1442 RootWindow(awt_display, adata->awt_visInfo.screen), |
|
1443 &xwa); |
|
1444 AWT_UNLOCK (); |
|
1445 |
1437 bounds = (*env)->NewObject(env, clazz, mid, 0, 0, |
1446 bounds = (*env)->NewObject(env, clazz, mid, 0, 0, |
1438 DisplayWidth(awt_display, |
1447 xwa.width, xwa.height); |
1439 adata->awt_visInfo.screen), |
|
1440 DisplayHeight(awt_display, |
|
1441 adata->awt_visInfo.screen)); |
|
1442 } |
1448 } |
1443 |
1449 |
1444 if ((*env)->ExceptionOccurred(env)) { |
1450 if ((*env)->ExceptionOccurred(env)) { |
1445 return NULL; |
1451 return NULL; |
1446 } |
1452 } |