[ttssh2-commit] [10941] クリッカブルURLが無効のときにもマウスオーバーでマウスカーソルの形状がHANDになる問題を修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2023年 9月 17日 (日) 14:31:57 JST


Revision: 10941
          https://osdn.net/projects/ttssh2/scm/svn/commits/10941
Author:   nmaya
Date:     2023-09-17 14:31:57 +0900 (Sun, 17 Sep 2023)
Log Message:
-----------
クリッカブルURLが無効のときにもマウスオーバーでマウスカーソルの形状がHANDになる問題を修正

issue: https://github.com/TeraTermProject/osdn-download/issues/9

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/ja/html/about/history.html
    trunk/teraterm/teraterm/vtwin.cpp

-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2023-09-17 03:17:56 UTC (rev 10940)
+++ trunk/doc/en/html/about/history.html	2023-09-17 05:31:57 UTC (rev 10941)
@@ -68,6 +68,7 @@
       <li>Fixed the area selected with the mouse does not disappear when the text is erased with the erase escape sequences.</li>
       <li>Reset text colors when <a href="../menu/control.html">[Control]-[Reset terminal]</a> is selected</li>
       <li>Fixed wrong window size is set when NAWS (Negotiate About Window Size) is received on telnet (cygterm) connection.</li>
+      <li>Fixed mouse cursor style is changed to hand when mouse cursor hover on URL string even when clickable URL is disabled.</li>
       <li>Fixed DPI adjustment does not work correctly when VT Window is moved to different DPI monitor.</li>
       <li>Fixed Kermit could not receive in some case.</li>
       <li>Adjusted packet size of Kermit send.</li>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2023-09-17 03:17:56 UTC (rev 10940)
+++ trunk/doc/ja/html/about/history.html	2023-09-17 05:31:57 UTC (rev 10941)
@@ -68,6 +68,7 @@
       <li>\x8F\xC1\x8B\x8E\x83V\x81[\x83P\x83\x93\x83X\x82ŕ\xB6\x8E\x9A\x82\xAA\x8F\xC1\x82\xB3\x82ꂽ\x82Ƃ\xAB\x81A\x83}\x83E\x83X\x82őI\x91\xF0\x82\xB5\x82\xBD\x97̈悪\x8F\xC1\x82\xA6\x82Ȃ\xA2\x82悤\x82ɏC\x90\xB3\x82\xB5\x82\xBD</li>
       <li><a href="../menu/control.html">[Control]-[Reset terminal]</a>\x82ŕ\xB6\x8E\x9A\x90F\x82\xAA\x8F\x89\x8A\x{227B0B7}\x82\xE9\x82悤\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
       <li>telnet(cygterm)\x90ڑ\xB1\x8E\x9E\x81ANAWS(Negotiate About Window Size)\x82\xAA\x91\x97\x82\xE7\x82\xEA\x82Ă\xAB\x82\xBD\x82Ƃ\xAB\x83E\x83B\x83\x93\x83h\x83E\x83T\x83C\x83Y\x82\xF0\x8C\xEB\x82\xC1\x82Đݒ肷\x82\xE9\x89”\\x90\xAB\x82\xAA\x82\xA0\x82\xC1\x82\xBD\x82̂ŏC\x90\xB3\x81B</li>
+      <li>\x83N\x83\x8A\x83b\x83J\x83u\x83\x8B URL \x82\xAA\x96\xB3\x8C\xF8\x82ȂƂ\xAB\x82ł\xE0 URL \x95\xB6\x8E\x9A\x97\xF1\x8F\xE3\x82Ƀ}\x83E\x83X\x83J\x81[\x83\\x83\x8B\x82\xF0\x8E\x9D\x82\xC1\x82Ă\xAD\x82\xE9\x82ƃn\x83\x93\x83h\x82̌`\x82ɕς\xED\x82\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
       <li>VT \x83E\x83B\x83\x93\x83h\x83E\x82\xAA\x88قȂ郂\x83j\x83^\x82\xF0\x82܂\xBD\x82\xAE\x8E\x9E\x81ADPI\x92\xB2\x90\xAE\x82\xAA\x82\xA4\x82܂\xAD\x8Ds\x82\xED\x82\xEA\x82Ȃ\xA2\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
       <li>Kermit \x82Ńt\x83@\x83C\x83\x8B\x82\xF0\x8E\xF3\x90M\x82ł\xAB\x82Ȃ\xA2\x82\xB1\x82Ƃ\xAA\x82\xA0\x82\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
       <li>Kermit \x82̑\x97\x90M\x83p\x83P\x83b\x83g\x82̃T\x83C\x83Y\x82𒲐\xAE\x82\xB5\x82\xBD\x81B</li>

Modified: trunk/teraterm/teraterm/vtwin.cpp
===================================================================
--- trunk/teraterm/teraterm/vtwin.cpp	2023-09-17 03:17:56 UTC (rev 10940)
+++ trunk/teraterm/teraterm/vtwin.cpp	2023-09-17 05:31:57 UTC (rev 10941)
@@ -2122,7 +2122,7 @@
 		mousereport = MouseReport(IdMouseEventMove, 0, point.x, point.y);
 
 	if (! (LButton || MButton || RButton)) {
-		if (BuffCheckMouseOnURL(point.x, point.y))
+		if (BuffCheckMouseOnURL(point.x, point.y) && ts.EnableClickableUrl)
 			SetMouseCursor("HAND");
 		else
 			SetMouseCursor(ts.MouseCursorName);


ttssh2-commit メーリングリストの案内
Back to archive index