X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxboard.c;h=5e2314ad47b35550126dedb07d7aa19e9e941f4f;hb=8e489d513f354388fa888b280b7a06dd0b7993e4;hp=89d80589b06293f2e527737c25143d68f9da086e;hpb=2655364624f87e757fa8719d3510bdf02ccf850c;p=xboard.git diff --git a/gtk/xboard.c b/gtk/xboard.c index 89d8058..5e2314a 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -913,8 +913,8 @@ main (int argc, char **argv) if(argc > 1 && !strcmp(argv[1], "--show-config")) { // [HGM] install: called to print config info typedef struct {char *name, *value; } Config; static Config configList[] = { - { "Datadir", DATADIR }, - { "Mandir", MANDIR }, + { "Datadir", dataDir }, + { "Mandir", manDir }, { "Sysconfdir", SYSCONFDIR }, { NULL } }; @@ -1697,6 +1697,12 @@ ReSize (WindowPlacement *wp) if(optList[W_BOARD].max > w) optList[W_BOARD].max = w; if(optList[W_BOARD].value > h) optList[W_BOARD].value = h; first = appData.fixedSize; + if(twoBoards && shellUp[DummyDlg]) { + SlavePopUp(); dualOptions[3].max = 0; DoEvents(); // calls SlaveResize, kludge to force assigning new canvas + partnerUp = !partnerUp; flipView = !flipView; + DrawPosition(True, NULL); + partnerUp = !partnerUp; flipView = !flipView; + } } static guint delayedDragTag = 0;