Refrain from making unnecessary resize X request
[xboard.git] / engineoutput.c
index 0a4e46a..0a45777 100644 (file)
@@ -93,7 +93,7 @@ void MakeEngineOutputTitle()
        count = currentMove - count;
        snprintf(buf, MSG_SIZ, "%s (%d reversible plies)", title, count);
        if(!rule) rule = 100;
-       if(count >= rule - 40 && !appData.icsActive) title = buf;
+       if(count >= rule - 40 && (!appData.icsActive || gameMode == IcsObserving)) title = buf;
        if(!strcmp(oldTitle, title)) return;
        safeStrCpy(oldTitle, title, MSG_SIZ);
        SetEngineOutputTitle(title);