X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=909ca8573277e0c0a245e14f4dbd796db35f95fd;hb=c9602f20e9cee39ec2a7dddee3e2c12719c25ef0;hp=911f005558c96bad11ffc98e4e4844d6320e4b33;hpb=e1edcbabb63e65d5d47c07a0836dd51d7e01de0e;p=xboard.git diff --git a/xboard.c b/xboard.c index 911f005..909ca85 100644 --- a/xboard.c +++ b/xboard.c @@ -2777,6 +2777,7 @@ XBoard square size (hint): %d\n\ widgetList[j++] = menuBarWidget = CreateMenuBar(menuBar); XtSetArg(args[0], XtNtop, XtChainTop); XtSetArg(args[1], XtNbottom, XtChainTop); + XtSetArg(args[1], XtNright, XtChainLeft); XtSetValues(menuBarWidget, args, 2); widgetList[j++] = whiteTimerWidget = @@ -3193,6 +3194,9 @@ XBoard square size (hint): %d\n\ if (appData.icsInputBox) ICSInputBoxPopUp(); } + #ifdef SIGWINCH + signal(SIGWINCH, TermSizeSigHandler); + #endif signal(SIGINT, IntSigHandler); signal(SIGTERM, IntSigHandler); if (*appData.cmailGameName != NULLCHAR) { @@ -8195,10 +8199,6 @@ int StartChildProcess(cmdLine, dir, pr) SetUpChildIO(to_prog, from_prog); - #ifdef SIGWINCH - signal(SIGWINCH, TermSizeSigHandler); - #endif - if ((pid = fork()) == 0) { /* Child process */ // [HGM] PSWBTM: made order resistant against case where fd of created pipe was 0 or 1