diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-03-23 11:01:14 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-03-23 11:01:14 +0200 |
commit | b5b7745f1fde7cdd5fb76113a56b9d3c39ffffc8 (patch) | |
tree | c54c3dd4f4d5fe325d2d3b9b2d8829f6f14d4441 /src/lisp.h | |
parent | 7e74b0fb885b1283e8052db5012a61dab85a7b9a (diff) | |
download | emacs-b5b7745f1fde7cdd5fb76113a56b9d3c39ffffc8.tar.gz |
Fix bug #14032 with restoring frame dimensions on MS-Windows.
src/w32term.c (w32fullscreen_hook): Record last value of the frame's
'fullscreen' parameter. Always record previous width and height
of the frame, except when switching out of maximized modes, so
that they could be restored correctly, instead of resetting to the
default frame dimensions. Send SC_RESTORE command to the frame,
unless we are going to send SC_MAXIMIZE, to restore the frame
resize hints in the mouse pointer shown by the window manager.
src/frame.c (get_frame_param): Now extern for WINDOWSNT as well.
src/lisp.h (get_frame_param): Adjust conditions for prototype
declaration.
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 6838d4a93cb..467710f52f4 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -3511,7 +3511,7 @@ extern Lisp_Object Qvisible; extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object); extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object); extern Lisp_Object do_switch_frame (Lisp_Object, int, int, Lisp_Object); -#if HAVE_NS +#if HAVE_NS || defined(WINDOWSNT) extern Lisp_Object get_frame_param (struct frame *, Lisp_Object); #endif extern void frames_discard_buffer (Lisp_Object); |