[Ttssh2-commit] [8560] EnumDisplayMonitors() API を使えるようにした

scmno****@osdn***** scmno****@osdn*****
2020年 2月 22日 (土) 01:34:38 JST


Revision: 8560
          https://osdn.net/projects/ttssh2/scm/svn/commits/8560
Author:   zmatsuo
Date:     2020-02-22 01:34:37 +0900 (Sat, 22 Feb 2020)
Log Message:
-----------
EnumDisplayMonitors() API を使えるようにした

- pEnumDisplayMonitors を初期化していなかった
- 影響範囲
  - r7248
    - transparent-windowブランチ
    - 透過具合をActive/Inactiveで各々調整できるようにしたとき
    - compat_win.cpp を作ったときから
  - 4.101 から
- 発生していた問題
  - メイン(プライマリ)ディスプレイ以外で Tera Term の背景にデスクトップ画像を表示できない
- backport from r8557

Revision Links:
--------------
    https://osdn.net/projects/ttssh2/scm/svn/commits/7248
    https://osdn.net/projects/ttssh2/scm/svn/commits/8557

Modified Paths:
--------------
    branches/4-stable/doc/en/html/about/history.html
    branches/4-stable/doc/ja/html/about/history.html
    branches/4-stable/teraterm/common/compat_win.cpp

-------------- next part --------------
Modified: branches/4-stable/doc/en/html/about/history.html
===================================================================
--- branches/4-stable/doc/en/html/about/history.html	2020-02-21 16:34:34 UTC (rev 8559)
+++ branches/4-stable/doc/en/html/about/history.html	2020-02-21 16:34:37 UTC (rev 8560)
@@ -43,6 +43,7 @@
     <ul>
       <li>Fixed memory leak when tooltip show. This bug was introduced in 4.103.</li>
       <li>Fixed support for IME feedback back and forth function. This bug was introduced in 4.103.</li>
+      <li>Fixed desktop images can not be displayed on background other than main display. This bug was introduced in 4.103.</li>
     </ul>
   </li>
 

Modified: branches/4-stable/doc/ja/html/about/history.html
===================================================================
--- branches/4-stable/doc/ja/html/about/history.html	2020-02-21 16:34:34 UTC (rev 8559)
+++ branches/4-stable/doc/ja/html/about/history.html	2020-02-21 16:34:37 UTC (rev 8560)
@@ -43,6 +43,7 @@
     <ul>
       <li>\x83c\x81[\x83\x8B\x83`\x83b\x83v\x95\\x8E\xA6\x8E\x9E\x82̃\x81\x83\x82\x83\x8A\x83\x8A\x81[\x83N\x82\xF0\x8FC\x90\xB3\x81B4.103\x82ł̃G\x83\x93\x83o\x83O\x81B</li>
 	  <li><a href="../usage/tips/ime.html#feedback">IME\x82̑O\x8C\xE3\x8EQ\x8Fƕϊ\xB7\x8B@\x94\</a>\x82\xAA\x93\xAE\x8D삷\x82\xE9\x82悤\x8FC\x90\xB3\x81B4.103\x82ł̃G\x83\x93\x83o\x83O\x81B</li>
+      <li>\x83\x81\x83C\x83\x93\x83f\x83B\x83X\x83v\x83\x8C\x83C\x88ȊO\x82Ńf\x83X\x83N\x83g\x83b\x83v\x89摜\x82\xF0\x94w\x8Ci\x82ɕ\\x8E\xA6\x82ł\xAB\x82Ȃ\xA9\x82\xC1\x82\xBD\x82̂\xF0\x8FC\x90\xB3\x81B4.101\x82ł̃G\x83\x93\x83o\x83O\x81B</li>
     </ul>
   </li>
 

Modified: branches/4-stable/teraterm/common/compat_win.cpp
===================================================================
--- branches/4-stable/teraterm/common/compat_win.cpp	2020-02-21 16:34:34 UTC (rev 8559)
+++ branches/4-stable/teraterm/common/compat_win.cpp	2020-02-21 16:34:37 UTC (rev 8560)
@@ -57,6 +57,7 @@
 	{ "MonitorFromRect", (void **)&pMonitorFromRect },
 	{ "AdjustWindowRectEx", (void **)&pAdjustWindowRectEx },
 	{ "AdjustWindowRectExForDpi", (void **)&pAdjustWindowRectExForDpi },
+	{ "EnumDisplayMonitors", (void **)&pEnumDisplayMonitors },
 	{},
 };
 


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