Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Tera Term
Tera Term
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (173)
Help (428)
Help
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[ttssh2]
/
trunk
/
teraterm
/
ttpcmn
/
ttcmn.c
Diff of /trunk/teraterm/ttpcmn/ttcmn.c
Parent Directory
|
Revision Log
|
Patch
revision
8516
by
zmatsuo
, Thu Jan 30 23:42:36 2020 UTC
revision
8517
by
zmatsuo
, Thu Jan 30 23:42:44 2020 UTC
#
Line 1098
void WINAPI UndoAllWin(void) {
Line 1098
void WINAPI UndoAllWin(void) {
1098
int i;
int i;
1099
WINDOWPLACEMENT rc0;
WINDOWPLACEMENT rc0;
1100
RECT rc;
RECT rc;
HMONITOR hMonitor;
MONITORINFO mi;
1101
int stat = SW_RESTORE;
int stat = SW_RESTORE;
1102
int multi_mon = 0;
int multi_mon = 0;
1103
#
Line 1120
void WINAPI UndoAllWin(void) {
Line 1118
void WINAPI UndoAllWin(void) {
1118
// NT4.0, 95 はマルチモニタAPIに非対応
// NT4.0, 95 はマルチモニタAPIに非対応
1119
if (multi_mon) {
if (multi_mon) {
1120
// 対象モニタの情報を取得
// 対象モニタの情報を取得
1121
hMonitor = MonitorFromRect(&rc, MONITOR_DEFAULTTONEAREST);
HMONITOR hMonitor;
1122
MONITORINFO mi;
1123
hMonitor = pMonitorFromRect(&rc, MONITOR_DEFAULTTONEAREST);
1124
mi.cbSize = sizeof(MONITORINFO);
mi.cbSize = sizeof(MONITORINFO);
1125
GetMonitorInfo(hMonitor, &mi);
pGetMonitorInfoA(hMonitor, &mi);
1126
1127
// 位置補正(復元前後で解像度が変わっている場合への対策)
// 位置補正(復元前後で解像度が変わっている場合への対策)
1128
if (rc.right > mi.rcMonitor.right) {
if (rc.right > mi.rcMonitor.right) {
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.8516
changed lines
Added in v.8517
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26