diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog.10 | 2 | ||||
| -rw-r--r-- | src/w32term.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ChangeLog.10 b/src/ChangeLog.10 index 19adb22b869..1b77eaf5803 100644 --- a/src/ChangeLog.10 +++ b/src/ChangeLog.10 | |||
| @@ -3264,7 +3264,7 @@ | |||
| 3264 | * w32term.c (x_make_frame_visible): Use SystemParametersInfo with | 3264 | * w32term.c (x_make_frame_visible): Use SystemParametersInfo with |
| 3265 | SPI_GETWORKAREA to find the dimensions of the screen work area, | 3265 | SPI_GETWORKAREA to find the dimensions of the screen work area, |
| 3266 | and adjust vertical position of the frame in order to avoid being | 3266 | and adjust vertical position of the frame in order to avoid being |
| 3267 | covered by the task bar. | 3267 | covered by the taskbar. |
| 3268 | 3268 | ||
| 3269 | * w32fns.c (w32_createwindow): Use CW_USEDEFAULT instead of | 3269 | * w32fns.c (w32_createwindow): Use CW_USEDEFAULT instead of |
| 3270 | f->left_pos and SH_SHOW instead of f->top_pos in the call to | 3270 | f->left_pos and SH_SHOW instead of f->top_pos in the call to |
diff --git a/src/w32term.c b/src/w32term.c index 2a4c30af12d..e8bcf3ef639 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -6347,7 +6347,7 @@ x_make_frame_visible (struct frame *f) | |||
| 6347 | RECT window_rect; | 6347 | RECT window_rect; |
| 6348 | 6348 | ||
| 6349 | /* Adjust vertical window position in order to avoid being | 6349 | /* Adjust vertical window position in order to avoid being |
| 6350 | covered by a task bar placed at the bottom of the desktop. */ | 6350 | covered by a taskbar placed at the bottom of the desktop. */ |
| 6351 | SystemParametersInfo (SPI_GETWORKAREA, 0, &workarea_rect, 0); | 6351 | SystemParametersInfo (SPI_GETWORKAREA, 0, &workarea_rect, 0); |
| 6352 | GetWindowRect (FRAME_W32_WINDOW (f), &window_rect); | 6352 | GetWindowRect (FRAME_W32_WINDOW (f), &window_rect); |
| 6353 | if (window_rect.bottom > workarea_rect.bottom | 6353 | if (window_rect.bottom > workarea_rect.bottom |