[Ttssh2-commit] [6730] 最大化でのバグ対処関連を変更

svnno****@sourc***** svnno****@sourc*****
2017年 5月 17日 (水) 22:02:09 JST


Revision: 6730
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6730
Author:   doda
Date:     2017-05-17 22:02:09 +0900 (Wed, 17 May 2017)
Log Message:
-----------
最大化でのバグ対処関連を変更

・type 2 (クライアント領域の調整) がうまく動かない場合があるようなので一旦廃止
・type 3 (スクロール領域調整) を type 2 に番号変更
・デフォルトを type 2 に変更

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/en/html/setup/teraterm-win.html
    trunk/doc/ja/html/about/history.html
    trunk/doc/ja/html/setup/teraterm-win.html
    trunk/installer/release/TERATERM.INI
    trunk/teraterm/teraterm/vtdisp.c
    trunk/teraterm/teraterm/vtwin.cpp
    trunk/teraterm/ttpset/ttset.c

-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2017-05-17 13:01:53 UTC (rev 6729)
+++ trunk/doc/en/html/about/history.html	2017-05-17 13:02:09 UTC (rev 6730)
@@ -37,13 +37,17 @@
     <ul>
       <li>added the notification feature regarding clipboard accessing from remote host. (Windows Me or 2000 or later)</li>
       <!-- li>\x83R\x83}\x83\x93\x83h\x83\x89\x83C\x83\x93\x83I\x83v\x83V\x83\x87\x83\x93 /NAMEDPIPE \x82\xF0 <a href="../commandline/teraterm.html#pipe">/PIPE</a> \x82֕ύX\x82\xB5\x82\xBD\x81B</li -->
-      <!-- li>\x83R\x83}\x83\x93\x83h\x83\x89\x83C\x83\x93\x83I\x83v\x83V\x83\x87\x83\x93 <a href="../commandline/teraterm.html#pipe">/PIPE</a> \x82\xF0\x8Eg\x97p\x82\xB5\x82\xBD\x8E\x9E\x82ɁA\x88ȉ\xBA\x82̃\x8B\x81[\x83\x8B\x82\xC5
-\x83z\x83X\x83g\x96\xBC\x82\xF0\x95₤\x82悤\x82ɂ\xB5\x82\xBD\x81B
+      <!-- li>\x83R\x83}\x83\x93\x83h\x83\x89\x83C\x83\x93\x83I\x83v\x83V\x83\x87\x83\x93 <a href="../commandline/teraterm.html#pipe">/PIPE</a> \x82\xF0\x8Eg\x97p\x82\xB5\x82\xBD\x8E\x9E\x82ɁA\x88ȉ\xBA\x82̃\x8B\x81[\x83\x8B\x82Ńz\x83X\x83g\x96\xBC\x82\xF0\x95₤\x82悤\x82ɂ\xB5\x82\xBD\x81B
         <ul>
           <li>\x83z\x83X\x83g\x96\xBC\x82\xAA \ \x82Ŏn\x82܂\xE9\x8Fꍇ\x82͂\xBB\x82̂܂܎g\x82\xED\x82\xEA\x82\xE9\x81B</li>
           <li>\x83z\x83X\x83g\x96\xBC\x82\xC9 \ \x82\xAA\x8A܂܂\xEA\x82Ȃ\xA2\x8Fꍇ\x82͐擪\x82\xC9 \\.\pipe\ \x82\xAA\x95t\x89\xC1\x82\xB3\x82\xEA\x82\xE9\x81B</li>
           <li>\x83z\x83X\x83g\x96\xBC\x82̐擪\x88ȊO\x82\xC9 \ \x82\xAA\x97L\x82\xE9\x8Fꍇ\x82́A\x82\xBB\x82\xEA\x82\xE6\x82\xE8\x91O\x82\xF0\x83T\x81[\x83o\x96\xBC\x81A\x8C\xE3\x82\xEB\x82\xF0\x83p\x83C\x83v\x96\xBC\x82Ƃ\xB5\x82Ĉ\xB5\x82\xA4\x81B</li>
         </ul></li -->
+      <!-- li><a href="../setup/teraterm-win.html#maximize">\x89\xE6\x96ʍő剻\x8E\x9E\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x8E\xAE</a> \x82Ƃ\xB5\x82ĐV\x82\xB5\x82\xA2\x95\xFB\x8E\xAE\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B
+        <ul>
+          <li>\x83f\x83t\x83H\x83\x8B\x83g\x90ݒ\xE8\x82ł̓\xAE\x8D\xEC\x82\xF0\x90V\x95\xFB\x8E\xAE\x82ɕύX\x82\xB5\x82\xBD\x81BTera Term 4.94 \x82܂łƓ\xAF\x82\xB6\x93\xAE\x8D\xEC\x82ɂ\xB7\x82\xE9\x8Fꍇ\x82\xCD MaximizedBugTweak \x82\xF0 1 \x82ɕύX\x82\xB7\x82\xE9\x81B</li>
+          <li>\x90ݒ\xE8\x83t\x83@\x83C\x83\x8B\x82\xCC MaximizedBugTweak \x90ݒ\xE8\x82Ŏw\x92肷\x82\xE9\x92l\x82\xF0\x81Aon/off \x82\xA9\x82\xE7 0/1/2 \x82ɕύX\x82\xB5\x82\xBD\x81Boff \x82\xCD 0\x81Aon \x82\xCD 2 \x82Ƃ\xB5\x82Ĉ\xB5\x82\xED\x82\xEA\x82\xE9\x81B</li>
+        </ul></li -->
     </ul>
   </li>
 

Modified: trunk/doc/en/html/setup/teraterm-win.html
===================================================================
--- trunk/doc/en/html/setup/teraterm-win.html	2017-05-17 13:01:53 UTC (rev 6729)
+++ trunk/doc/en/html/setup/teraterm-win.html	2017-05-17 13:02:09 UTC (rev 6730)
@@ -497,19 +497,34 @@
 
 
 <h1><a name="maximize">How to scroll the screen when the window size is maximized</a></h1>
+<!--
 <p>
-You can specify how to scroll the screen when the window size is maximized.<br>
-If the screen is scrolled with the maximized window size, the screen image may be disrupted in some case. Therefore, the screen of maximized window size will be scrolled by using a different method  than a usual way by default. However, there may be a minor side effect such as flickering or being slowed down.<br>
-If a line of MaximizedBugTweak in [Tera Term] section of a setup file is modified as follows, a usual method will be used even the window size is maximized to avoid such side effects. However, as described above, the screen image may be disrupted.
+\x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82̉\xE6\x96ʃX\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x96@\x82\xF0\x8Ew\x92肵\x82܂\xB7\x81B
 </p>
+<p>
+\x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82ɒʏ\xED\x82̃E\x83B\x83\x93\x83h\x83E\x95\\x8E\xA6\x8E\x9E\x82Ɠ\xAF\x82\xB6\x95\xFB\x96@\x82ŃX\x83N\x83\x8D\x81[\x83\x8B\x82\xF0\x8Ds\x82\xA4\x82Ɗ‹\xAB\x82ɂ\xE6\x82\xC1\x82Ă͕\\x8E\xA6\x82\xAA\x97\x90\x82\xEA\x82鎖\x82\xAA\x82\xA0\x82邽\x82߁A\x83X\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x8E\xAE\x82\xF0\x95ύX\x82\xB7\x82鎖\x82\xAA\x89”\\x82ł\xB7\x81B<br>
+\x8C\xBB\x8D݂͈ȉ\xBA\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x95\x{33AE0AA}\x97p\x88ӂ\xB3\x82\xEA\x82Ă\xA2\x82܂\xB7\x81B
+</p>
 
+<ul>
+  <li> \x95\xFB\x8E\xAE 0. \x92ʏ\xED\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x82Ɠ\xAF\x82\xB6\x95\xFB\x96@\x82\xF0\x8Eg\x97p\x82\xB7\x82\xE9\x81B\x83X\x83N\x83\x8D\x81[\x83\x8B\x8E\x9E\x82ɕ\xB6\x8E\x9A\x82̈ꕔ\x82\xAA\x8C\x87\x82\xAF\x82鎖\x82\xAA\x82\xA0\x82\xE9\x81B</li>
+  <li> \x95\xFB\x8E\xAE 1. Tera Term 4.94 \x82܂ł̕\\x8E\xA6\x95\xFB\x8E\xAE\x81B\x95\\x8E\xA6\x82\xAA\x97\x90\x82\xEA\x82鎖\x82͖\xB3\x82\xA2\x82\xAA\x81A\x83X\x83N\x83\x8D\x81[\x83\x8B\x8E\x9E\x82ɕ\\x8E\xA6\x82\xAA\x82\xBF\x82\xE7\x82‚\xA2\x82\xBD\x82\xE8\x81A\x83X\x83N\x83\x8D\x81[\x83\x8B\x82\xAA\x92x\x82\xAD\x82Ȃ\xE9\x8Fꍇ\x82\xAA\x82\xA0\x82\xE9\x81B</li>
+  <li> \x95\xFB\x8E\xAE 2. Tera Term 4.95 \x82\xA9\x82\xE7\x8D̗p\x82\xB3\x82ꂽ\x90V\x82\xB5\x82\xA2\x95\xFB\x8E\xAE\x81B\x92ʏ\xED\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x8E\xAE\x82Ɣ\xE4\x82ׂĂ\xBF\x82\xE7\x82‚\xA2\x82\xBD\x82肷\x82鎖\x82͂Ȃ\xA2\x82\xAA\x81A\x83X\x83N\x83\x8D\x81[\x83\x8B\x83o\x83b\x83N\x82\xB5\x82\xBD\x8E\x9E\x82ɉ\xE6\x96ʉ\xBA\x95\x94\x82ɃS\x83~\x82\xAA\x8Ec\x82\xE9\x8Fꍇ\x82\xAA\x82\xA0\x82\xE9\x81B</li>
+</ul>
+
+<p>
+\x8F\x89\x8A\xFA\x92l\x82ł́A\x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82ɂ͕\xFB\x8E\xAE 2 \x82\xF0\x8Eg\x97p\x82\xB7\x82\xE9\x82悤\x82ɂȂ\xC1\x82Ă\xA2\x82܂\xB7\x81B\x8Dő剻\x8E\x9E\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x82Ŗ\xE2\x91肪\x94\xAD\x90\xB6\x82\xB7\x82\xE9\x8Fꍇ\x82́A\x95\\x8E\xA6\x95\xFB\x8E\xAE\x82\xF0\x95ύX\x82\xB7\x82鎖\x82\xAA\x89”\\x82ł\xB7\x81B<br>
+\x97Ⴆ\x82΁A\x90ݒ\xE8\x83t\x83@\x83C\x83\x8B\x82\xCC [Tera Term] \x83Z\x83N\x83V\x83\x87\x83\x93\x82\xCC MaximizedBugTweak \x8Ds\x82\xF0\x88ȉ\xBA\x82̂悤\x82ɕύX\x82\xB7\x82\xE9\x82ƁA\x95\xFB\x8E\xAE 1 \x82\xF0\x8Eg\x97p\x82\xB5\x82ăX\x83N\x83\x8D\x81[\x83\x8B\x82\xB7\x82\xE9\x82悤\x82ɂȂ\xE8\x82܂\xB7\x81B
+</p>
+-->
+
 <pre>
-MaximizedBugTweak=off
+MaximizedBugTweak=1
 </pre>
 
 <pre>
-Default:
-MaximizedBugTweak=on
+\x8Fȗ\xAA\x8E\x9E:
+MaximizedBugTweak=2
 </pre>
 
 

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2017-05-17 13:01:53 UTC (rev 6729)
+++ trunk/doc/ja/html/about/history.html	2017-05-17 13:02:09 UTC (rev 6730)
@@ -43,6 +43,11 @@
           <li>\x83z\x83X\x83g\x96\xBC\x82\xC9 \ \x82\xAA\x8A܂܂\xEA\x82Ȃ\xA2\x8Fꍇ\x82͐擪\x82\xC9 \\.\pipe\ \x82\xAA\x95t\x89\xC1\x82\xB3\x82\xEA\x82\xE9\x81B</li>
           <li>\x83z\x83X\x83g\x96\xBC\x82̐擪\x88ȊO\x82\xC9 \ \x82\xAA\x97L\x82\xE9\x8Fꍇ\x82́A\x82\xBB\x82\xEA\x82\xE6\x82\xE8\x91O\x82\xF0\x83T\x81[\x83o\x96\xBC\x81A\x8C\xE3\x82\xEB\x82\xF0\x83p\x83C\x83v\x96\xBC\x82Ƃ\xB5\x82Ĉ\xB5\x82\xA4\x81B</li>
         </ul></li>
+      <li><a href="../setup/teraterm-win.html#maximize">\x89\xE6\x96ʍő剻\x8E\x9E\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x8E\xAE</a> \x82Ƃ\xB5\x82ĐV\x82\xB5\x82\xA2\x95\xFB\x8E\xAE\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B
+        <ul>
+          <li>\x83f\x83t\x83H\x83\x8B\x83g\x90ݒ\xE8\x82ł̓\xAE\x8D\xEC\x82\xF0\x90V\x95\xFB\x8E\xAE\x82ɕύX\x82\xB5\x82\xBD\x81BTera Term 4.94 \x82܂łƓ\xAF\x82\xB6\x93\xAE\x8D\xEC\x82ɂ\xB7\x82\xE9\x8Fꍇ\x82\xCD MaximizedBugTweak \x82\xF0 1 \x82ɕύX\x82\xB7\x82\xE9\x81B</li>
+          <li>\x90ݒ\xE8\x83t\x83@\x83C\x83\x8B\x82\xCC MaximizedBugTweak \x90ݒ\xE8\x82Ŏw\x92肷\x82\xE9\x92l\x82\xF0\x81Aon/off \x82\xA9\x82\xE7 0/1/2 \x82ɕύX\x82\xB5\x82\xBD\x81Boff \x82\xCD 0\x81Aon \x82\xCD 2 \x82Ƃ\xB5\x82Ĉ\xB5\x82\xED\x82\xEA\x82\xE9\x81B</li>
+        </ul></li>
     </ul>
   </li>
 

Modified: trunk/doc/ja/html/setup/teraterm-win.html
===================================================================
--- trunk/doc/ja/html/setup/teraterm-win.html	2017-05-17 13:01:53 UTC (rev 6729)
+++ trunk/doc/ja/html/setup/teraterm-win.html	2017-05-17 13:02:09 UTC (rev 6730)
@@ -515,17 +515,30 @@
 <h1><a name="maximize">\x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82̉\xE6\x96ʃX\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x96@</a></h1>
 <p>
 \x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82̉\xE6\x96ʃX\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x96@\x82\xF0\x8Ew\x92肵\x82܂\xB7\x81B<br>
-\x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82ɒʏ\xED\x82̃E\x83B\x83\x93\x83h\x83E\x95\\x8E\xA6\x8E\x9E\x82Ɠ\xAF\x82\xB6\x95\xFB\x96@\x82ŃX\x83N\x83\x8D\x81[\x83\x8B\x82\xF0\x8Ds\x82\xA4\x82ƁA\x8A‹\xAB\x82ɂ\xE6\x82\xC1\x82Ă͕\\x8E\xA6\x82\xAA\x97\x90\x82\xEA\x82鎖\x82\xAA\x82\xA0\x82邽\x82߁A\x8F\x89\x8A\xFA\x92l\x82ł̓E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82ɂ͕ʂ̕\xFB\x96@\x82ŃX\x83N\x83\x8D\x81[\x83\x8B\x82\xF0\x8Ds\x82\xA2\x82܂\xB7\x81B\x82\xBD\x82\xBE\x82\xB5\x81A\x92ʏ\xED\x82̃E\x83B\x83\x93\x83h\x83E\x95\\x8E\xA6\x82ɔ\xE4\x82ׂĕ\\x8E\xA6\x82\xAA\x82\xBF\x82\xE7\x82‚\xA2\x82\xBD\x82\xE8\x81A\x83X\x83N\x83\x8D\x81[\x83\x8B\x82\xAA\x92x\x82\xAD\x82Ȃ\xE9\x8Fꍇ\x82\xAA\x82\xA0\x82\xE8\x82܂\xB7\x81B<br>
-\x90ݒ\xE8\x83t\x83@\x83C\x83\x8B\x82\xCC [Tera Term] \x83Z\x83N\x83V\x83\x87\x83\x93\x82\xCC MaximizedBugTweak \x8Ds\x82\xF0\x88ȉ\xBA\x82̂悤\x82ɕύX\x82\xB7\x82\xE9\x82ƁA\x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82ɂ\xE0\x92ʏ\xED\x82̃E\x83B\x83\x93\x83h\x83E\x95\\x8E\xA6\x8E\x9E\x82Ɠ\xAF\x82\xB6\x95\xFB\x96@\x82ŃX\x83N\x83\x8D\x81[\x83\x8B\x82\xF0\x8Ds\x82\xA4\x82悤\x82ɂȂ\xE9\x82̂ŁA\x89\xE6\x96ʂ̂\xBF\x82\xE7\x82‚\xAB\x82\xE2\x83X\x83N\x83\x8D\x81[\x83\x8B\x91\xAC\x93x\x82\xAA\x89\xFC\x91P\x82\xB3\x82\xEA\x82܂\xB7\x81B\x82\xBD\x82\xBE\x82\xB5\x81A\x91O\x8Fq\x82\xB5\x82\xBD\x82悤\x82ɕ\\x8E\xA6\x82\xAA\x88ꕔ\x97\x90\x82\xEA\x82鎖\x82\xAA\x82\xA0\x82\xE8\x82܂\xB7\x81B
 </p>
+<p>
+\x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82ɒʏ\xED\x82̃E\x83B\x83\x93\x83h\x83E\x95\\x8E\xA6\x8E\x9E\x82Ɠ\xAF\x82\xB6\x95\xFB\x96@\x82ŃX\x83N\x83\x8D\x81[\x83\x8B\x82\xF0\x8Ds\x82\xA4\x82Ɗ‹\xAB\x82ɂ\xE6\x82\xC1\x82Ă͕\\x8E\xA6\x82\xAA\x97\x90\x82\xEA\x82鎖\x82\xAA\x82\xA0\x82邽\x82߁A\x83X\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x8E\xAE\x82\xF0\x95ύX\x82\xB7\x82鎖\x82\xAA\x89”\\x82ł\xB7\x81B<br>
+\x8C\xBB\x8D݂͈ȉ\xBA\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x95\x{33AE0AA}\x97p\x88ӂ\xB3\x82\xEA\x82Ă\xA2\x82܂\xB7\x81B
+</p>
 
+<ul>
+  <li> \x95\xFB\x8E\xAE 0. \x92ʏ\xED\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x82Ɠ\xAF\x82\xB6\x95\xFB\x96@\x82\xF0\x8Eg\x97p\x82\xB7\x82\xE9\x81B\x83X\x83N\x83\x8D\x81[\x83\x8B\x8E\x9E\x82ɕ\xB6\x8E\x9A\x82̈ꕔ\x82\xAA\x8C\x87\x82\xAF\x82鎖\x82\xAA\x82\xA0\x82\xE9\x81B</li>
+  <li> \x95\xFB\x8E\xAE 1. Tera Term 4.94 \x82܂ł̕\\x8E\xA6\x95\xFB\x8E\xAE\x81B\x95\\x8E\xA6\x82\xAA\x97\x90\x82\xEA\x82鎖\x82͖\xB3\x82\xA2\x82\xAA\x81A\x83X\x83N\x83\x8D\x81[\x83\x8B\x8E\x9E\x82ɕ\\x8E\xA6\x82\xAA\x82\xBF\x82\xE7\x82‚\xA2\x82\xBD\x82\xE8\x81A\x83X\x83N\x83\x8D\x81[\x83\x8B\x82\xAA\x92x\x82\xAD\x82Ȃ\xE9\x8Fꍇ\x82\xAA\x82\xA0\x82\xE9\x81B</li>
+  <li> \x95\xFB\x8E\xAE 2. Tera Term 4.95 \x82\xA9\x82\xE7\x8D̗p\x82\xB3\x82ꂽ\x90V\x82\xB5\x82\xA2\x95\xFB\x8E\xAE\x81B\x92ʏ\xED\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x95\xFB\x8E\xAE\x82Ɣ\xE4\x82ׂĂ\xBF\x82\xE7\x82‚\xA2\x82\xBD\x82肷\x82鎖\x82͂Ȃ\xA2\x82\xAA\x81A\x83X\x83N\x83\x8D\x81[\x83\x8B\x83o\x83b\x83N\x82\xB5\x82\xBD\x8E\x9E\x82ɉ\xE6\x96ʉ\xBA\x95\x94\x82ɃS\x83~\x82\xAA\x8Ec\x82\xE9\x8Fꍇ\x82\xAA\x82\xA0\x82\xE9\x81B</li>
+</ul>
+
+<p>
+\x8F\x89\x8A\xFA\x92l\x82ł́A\x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82ɂ͕\xFB\x8E\xAE 2 \x82\xF0\x8Eg\x97p\x82\xB7\x82\xE9\x82悤\x82ɂȂ\xC1\x82Ă\xA2\x82܂\xB7\x81B\x8Dő剻\x8E\x9E\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x82Ŗ\xE2\x91肪\x94\xAD\x90\xB6\x82\xB7\x82\xE9\x8Fꍇ\x82́A\x95\\x8E\xA6\x95\xFB\x8E\xAE\x82\xF0\x95ύX\x82\xB7\x82鎖\x82\xAA\x89”\\x82ł\xB7\x81B<br>
+\x97Ⴆ\x82΁A\x90ݒ\xE8\x83t\x83@\x83C\x83\x8B\x82\xCC [Tera Term] \x83Z\x83N\x83V\x83\x87\x83\x93\x82\xCC MaximizedBugTweak \x8Ds\x82\xF0\x88ȉ\xBA\x82̂悤\x82ɕύX\x82\xB7\x82\xE9\x82ƁA\x95\xFB\x8E\xAE 1 \x82\xF0\x8Eg\x97p\x82\xB5\x82ăX\x83N\x83\x8D\x81[\x83\x8B\x82\xB7\x82\xE9\x82悤\x82ɂȂ\xE8\x82܂\xB7\x81B
+</p>
+
 <pre>
-MaximizedBugTweak=off
+MaximizedBugTweak=1
 </pre>
 
 <pre>
 \x8Fȗ\xAA\x8E\x9E:
-MaximizedBugTweak=on
+MaximizedBugTweak=2
 </pre>
 
 

Modified: trunk/installer/release/TERATERM.INI
===================================================================
--- trunk/installer/release/TERATERM.INI	2017-05-17 13:01:53 UTC (rev 6729)
+++ trunk/installer/release/TERATERM.INI	2017-05-17 13:02:09 UTC (rev 6730)
@@ -553,8 +553,8 @@
 ; Mouse event tracking
 MouseEventTracking=on
 
-; Maximized window bug tweak
-MaximizedBugTweak=on
+; Maximized window bug tweak (0..2)
+MaximizedBugTweak=2
 
 ; Nonblinking cursor
 NonblinkingCursor=off

Modified: trunk/teraterm/teraterm/vtdisp.c
===================================================================
--- trunk/teraterm/teraterm/vtdisp.c	2017-05-17 13:01:53 UTC (rev 6729)
+++ trunk/teraterm/teraterm/vtdisp.c	2017-05-17 13:02:09 UTC (rev 6730)
@@ -1662,7 +1662,7 @@
 		case 1: // type 1: ScrollWindow \x82\xF0\x8Eg\x82킸\x82ɂ\xB7\x82ׂď\x91\x82\xAB\x92\xBC\x82\xB7
 			InvalidateRect(HVTWin, ClipRect, FALSE);
 			break;
-		case 3: // type 3: \x83X\x83N\x83\x8D\x81[\x83\x8B\x97̈悪\x91S\x91\xCC(NULL)\x82̎\x9E\x82͌\x84\x8Aԕ\x94\x95\xAA\x82\xF0\x8F\x9C\x82\xA2\x82\xBD\x97̈\xE6\x82ɍ\xB7\x82\xB5\x91ւ\xA6\x82\xE9
+		case 2: // type 2: \x83X\x83N\x83\x8D\x81[\x83\x8B\x97̈悪\x91S\x91\xCC(NULL)\x82̎\x9E\x82͌\x84\x8Aԕ\x94\x95\xAA\x82\xF0\x8F\x9C\x82\xA2\x82\xBD\x97̈\xE6\x82ɍ\xB7\x82\xB5\x91ւ\xA6\x82\xE9
 			if (Rect == NULL) {
 				GetClientRect(hwnd, &r);
 				r.bottom -= r.bottom % ts.TerminalHeight;

Modified: trunk/teraterm/teraterm/vtwin.cpp
===================================================================
--- trunk/teraterm/teraterm/vtwin.cpp	2017-05-17 13:01:53 UTC (rev 6729)
+++ trunk/teraterm/teraterm/vtwin.cpp	2017-05-17 13:02:09 UTC (rev 6730)
@@ -2486,18 +2486,6 @@
 
 	CWnd::OnNcCalcSize(valid, sizeinfo);
 
-	if (valid && IsZoomed() && ts.MaximizedBugTweak == 2) {
-		// \x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82ɕ\xB6\x8E\x9A\x82\xAA\x8C\x87\x82\xAF\x82\xE9\x8Fꍇ\x82\xAA\x82\xA0\x82鎖\x82ւ̑Ώ\x88
-		// \x83N\x83\x89\x83C\x83A\x83\x93\x83g\x97̈\xE6\x82̍\x82\x82\xB3\x82\xAA\x95\xB6\x8E\x9A\x82̍\x82\x82\xB3\x82Ŋ\x84\x82\xE8\x90؂ꂸ
-		// \x83E\x83B\x83\x93\x83h\x83E\x8Dʼn\xBA\x95\x94\x82Ɉ\xEA\x8Ds\x96\xA2\x96\x9E\x82̌\x84\x8AԂ\xAA\x8Fo\x97\x88\x82鎖\x82\xAA\x8C\xB4\x88\xF6\x81B
-		// \x8C\x84\x8AԂ̕\xAA\x81A\x83N\x83\x89\x83C\x83A\x83\x93\x83g\x97̈\xE6\x82̍\x82\x82\xB3\x82\xF0\x8C\xB8\x82炷\x81B
-		fontheight = abs(ts.VTFontSize.y);
-		if (fontheight > 0) {
-			gap = (sizeinfo->rgrc[0].bottom - sizeinfo->rgrc[0].top) % fontheight;
-			sizeinfo->rgrc[0].bottom -= gap;
-		}
-	}
-
 	return;
 }
 

Modified: trunk/teraterm/ttpset/ttset.c
===================================================================
--- trunk/teraterm/ttpset/ttset.c	2017-05-17 13:01:53 UTC (rev 6729)
+++ trunk/teraterm/ttpset/ttset.c	2017-05-17 13:02:09 UTC (rev 6730)
@@ -1582,10 +1582,10 @@
 		GetOnOff(Section, "MouseEventTracking", FName, TRUE);
 
 	// Maximized bug tweak
-	GetPrivateProfileString(Section, "MaximizedBugTweak", "1", Temp,
+	GetPrivateProfileString(Section, "MaximizedBugTweak", "2", Temp,
 	                        sizeof(Temp), FName);
 	if (_stricmp(Temp, "on") == 0) {
-		ts->MaximizedBugTweak = 1;
+		ts->MaximizedBugTweak = 2;
 	}
 	else {
 		ts->MaximizedBugTweak = atoi(Temp);



Ttssh2-commit メーリングリストの案内