Differences From Artifact [0daba08bb0]:
- File window.c — part of check-in [add0639425] at 2001-01-07 13:15:59 on branch trunk — Fix for spurious Space getting sent when alt_space and alt_only are both set and you bring up the Sysmenu with an alt_space and dispatch it with an alt_only. (The SYSKEYDOWN for alt_only is never received, but we get the SYSKEYUP which PostMessages the space since it expects to be triggering the _creation_ of a sysmenu. Solution: set alt_state to 0 when an alt_space triggers a sysmenu, so that the final SYSKEYUP will be seen as spurious, which it is. Perhaps we could do this better.) (user: simon size: 73791)
To Artifact [1e7b2a5cc2]:
- File window.c — part of check-in [aaeb10004c] at 2001-01-08 10:28:21 on branch trunk — Enable explicit changing of the window title after session start (user: simon size: 73905)
| ︙ | |||
1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 | 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 | + |
strcpy(oldlogfile, cfg.logfilename);
oldlogtype = cfg.logtype;
cfg.width = cols;
cfg.height = rows;
old_fwidth = font_width;
old_fheight = font_height;
GetWindowText(hwnd, cfg.wintitle, sizeof(cfg.wintitle));
if (!do_reconfig(hwnd))
break;
if (strcmp(oldlogfile, cfg.logfilename) ||
oldlogtype != cfg.logtype) {
logfclose(); /* reset logging */
|
| ︙ | |||
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 | 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 | + |
force_normal(hwnd);
SetWindowPos (hwnd, NULL, 0, 0,
extra_width + font_width * cfg.width,
extra_height + font_height * cfg.height,
SWP_NOACTIVATE | SWP_NOCOPYBITS |
SWP_NOMOVE | SWP_NOZORDER);
}
set_title(cfg.wintitle);
if (IsIconic(hwnd)) {
SetWindowText (hwnd,
cfg.win_name_always ? window_name : icon_name);
}
}
break;
case IDM_COPYALL:
|
| ︙ |