rem: moveGeometryDisplayCentered(scr, scr->scr_width / 2, scr->scr_height / 2);
add: WMRect rect = wGetRectForHead(scr, wGetHeadForPointerLocation(scr)); moveGeometryDisplayCentered(scr, rect.pos.x + rect.size.width/2, rect.pos.y + rect.size.width/2);
context: cycleGeometryDisplay(WWindow *wwin, int x, int y, int w, int h, int dir){    WScreen *scr = wwin->screen_ptr;    wPreferences.size_display++;    wPreferences.size_display %= NUM_DISPLAYS;     if (wPreferences.size_display == WDIS_NEW        || wPreferences.size_display == WDIS_NONE) {        WMUnmapWidget(scr->gview);    } else {        if (wPreferences.size_display == WDIS_CENTER) {            moveGeometryDisplayCentered(scr,                                        scr->scr_width / 2, scr->scr_height / 2);        } else if (wPreferences.size_display == WDIS_TOPLEFT) {            moveGeometryDisplayCentered(scr, 1, 1);        } else if (wPreferences.size_display == WDIS_FRAME_CENTER) {            moveGeometryDisplayCentered(scr, x + w/2, y + h/2);        }        WMMapWidget(scr->gview);        showGeometry(wwin, x, y, x + w, y + h, dir);    }}