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