-int BC_DragWindow::get_init_x(BC_WindowBase *parent_window, int icon_x)
-{
- int output_x, temp = 0;
- Window tempwin;
- XTranslateCoordinates(parent_window->top_level->display,
- parent_window->win, parent_window->top_level->rootwin,
- icon_x, temp, &output_x, &temp, &tempwin);
- return output_x;
-}
-
-int BC_DragWindow::get_init_y(BC_WindowBase *parent_window, int icon_y)
-{
- int output_y, temp = 0;
- Window tempwin;
- XTranslateCoordinates(parent_window->top_level->display,
- parent_window->win, parent_window->top_level->rootwin,
- temp, icon_y, &temp, &output_y, &tempwin);
- return output_y;
-}
-