408 |
gdk_window_get_root_geometry (event->any.window, |
gdk_window_get_root_geometry (event->any.window, |
409 |
&x, &y, &w, &h, &wb, &d); |
&x, &y, &w, &h, &wb, &d); |
410 |
|
|
411 |
|
#if 0 |
412 |
top = event->configure.y - y; |
top = event->configure.y - y; |
413 |
left = event->configure.x - x; |
left = event->configure.x - x; |
414 |
bottom = h - event->configure.height - top; |
bottom = h - event->configure.height - top; |
415 |
right = w - event->configure.width - left; |
right = w - event->configure.width - left; |
416 |
|
#else |
417 |
|
top = left = bottom = right = 0; |
418 |
|
#endif |
419 |
|
|
420 |
/* configure events are not posted to the AWT event queue, |
/* configure events are not posted to the AWT event queue, |
421 |
and as such, gdk/gtk will be called back before |
and as such, gdk/gtk will be called back before |