rem: wwin = wManageInternalWindow(scr, parent, None, NULL, (scr->scr_width - 400)/2, (scr->scr_height - 180)/2, 400, 180);
add: center = getCenter(scr, 400, 180); wwin = wManageInternalWindow(scr, parent, None, NULL, center.x, center.y, 400, 180);
context: wMessageDialog(WScreen *scr, char *title, char *message,	       char *defBtn, char *altBtn, char *othBtn){    WMAlertPanel *panel;    Window parent;    WWindow *wwin;    int result;    panel = WMCreateAlertPanel(scr->wmscreen, NULL, title, message,			       defBtn, altBtn, othBtn);    parent = XCreateSimpleWindow(dpy, scr->root_win, 0, 0, 400, 180, 0, 0, 0);    XReparentWindow(dpy, WMWidgetXID(panel->win), parent, 0, 0);    wwin = wManageInternalWindow(scr, parent, None, NULL,				 (scr->scr_width - 400)/2,				 (scr->scr_height - 180)/2, 400, 180);    wwin->client_leader = WMWidgetXID(panel->win);    WMMapWidget(panel->win);    wWindowMap(wwin);    WMRunModalLoop(WMWidgetScreen(panel->win), WMWidgetView(panel->win));    result = panel->result;    WMUnmapWidget(panel->win);    wUnmanageWindow(wwin, False, False);    WMDestroyAlertPanel(panel);    XDestroyWindow(dpy, parent);    return result;}