diff options
| author | Eli Zaretskii | 2013-03-23 21:40:43 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-23 21:40:43 +0200 |
| commit | cdc0d0bdbd039dd8c826568123b7ae53bc848373 (patch) | |
| tree | 3bb7bdca35bd13d2862c6b2c56d49b3cfa8c3be8 /src/ChangeLog | |
| parent | b3082f497c788948254b21ce87ea3eba8b801e80 (diff) | |
| download | emacs-cdc0d0bdbd039dd8c826568123b7ae53bc848373.tar.gz emacs-cdc0d0bdbd039dd8c826568123b7ae53bc848373.zip | |
Fix fullscreen resizing of multiple frames on MS-Windows.
src/w32term.h (struct w32_output): New members normal_width,
normal_height, normal_top, normal_left, and prev_fsmode.
(FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP)
(FRAME_NORMAL_LEFT, FRAME_PREV_FSMODE): New macros to access these
members of a frame.
src/w32term.c (w32fullscreen_hook): Use FRAME_NORMAL_WIDTH,
FRAME_NORMAL_HEIGHT, and FRAME_PREV_FSMODE, instead of static
variables, to save and restore frame dimensions. Use
FRAME_NORMAL_LEFT and FRAME_NORMAL_TOP to restore frame position
after returning from a 'fullscreen' configuration. use
SendMessage instead of PostMessage to send the SC_RESTORE message,
to avoid races between the main thread and the input thread.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c60ff058e9d..62f210583ee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,19 @@ | |||
| 1 | 2013-03-23 Eli Zaretskii <eliz@gnu.org> | 1 | 2013-03-23 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * w32term.c (w32fullscreen_hook): Use FRAME_NORMAL_WIDTH, | ||
| 4 | FRAME_NORMAL_HEIGHT, and FRAME_PREV_FSMODE, instead of static | ||
| 5 | variables, to save and restore frame dimensions. Use | ||
| 6 | FRAME_NORMAL_LEFT and FRAME_NORMAL_TOP to restore frame position | ||
| 7 | after returning from a 'fullscreen' configuration. use | ||
| 8 | SendMessage instead of PostMessage to send the SC_RESTORE message, | ||
| 9 | to avoid races between the main thread and the input thread. | ||
| 10 | |||
| 11 | * w32term.h (struct w32_output): New members normal_width, | ||
| 12 | normal_height, normal_top, normal_left, and prev_fsmode. | ||
| 13 | (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP) | ||
| 14 | (FRAME_NORMAL_LEFT, FRAME_PREV_FSMODE): New macros to access these | ||
| 15 | members of a frame. | ||
| 16 | |||
| 3 | * w32term.c (w32fullscreen_hook): Record last value of the frame's | 17 | * w32term.c (w32fullscreen_hook): Record last value of the frame's |
| 4 | 'fullscreen' parameter. Always record previous width and height | 18 | 'fullscreen' parameter. Always record previous width and height |
| 5 | of the frame, except when switching out of maximized modes, so | 19 | of the frame, except when switching out of maximized modes, so |