|
Lines 3412-3417
Link Here
|
| 3412 |
Window xwindow; |
3412 |
Window xwindow; |
| 3413 |
Window xparent; |
3413 |
Window xparent; |
| 3414 |
Window root; |
3414 |
Window root; |
|
|
3415 |
Window child; |
| 3415 |
Window *children; |
3416 |
Window *children; |
| 3416 |
guchar *data; |
3417 |
guchar *data; |
| 3417 |
Window *vroots; |
3418 |
Window *vroots; |
|
Lines 3470-3482
Link Here
|
| 3470 |
if ((type_return == XA_CARDINAL) && (format_return == 32) && |
3471 |
if ((type_return == XA_CARDINAL) && (format_return == 32) && |
| 3471 |
(nitems_return == 4) && (data)) |
3472 |
(nitems_return == 4) && (data)) |
| 3472 |
{ |
3473 |
{ |
| 3473 |
guint32 *ldata = (guint32 *) data; |
3474 |
gulong *ldata = (gulong *) data; |
| 3474 |
got_frame_extents = TRUE; |
3475 |
got_frame_extents = TRUE; |
| 3475 |
|
3476 |
|
| 3476 |
/* try to get the real client window geometry */ |
3477 |
/* try to get the real client window geometry */ |
| 3477 |
if (XGetGeometry (GDK_DISPLAY_XDISPLAY (display), xwindow, |
3478 |
if (XGetGeometry (GDK_DISPLAY_XDISPLAY (display), xwindow, |
| 3478 |
&root, &wx, &wy, &ww, &wh, &wb, &wd)) |
3479 |
&root, &wx, &wy, &ww, &wh, &wb, &wd) && |
| 3479 |
{ |
3480 |
XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display), |
|
|
3481 |
xwindow, root, 0, 0, &wx, &wy, &child)) |
| 3482 |
{ |
| 3480 |
rect->x = wx; |
3483 |
rect->x = wx; |
| 3481 |
rect->y = wy; |
3484 |
rect->y = wy; |
| 3482 |
rect->width = ww; |
3485 |
rect->width = ww; |