From: Erik Charlebois Date: Sat, 20 Apr 2013 07:32:31 +0000 (+0300) Subject: Better full-screen frame support on MS-Windows. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~418 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=806bda47ddb469f6206ecc533458eadae6a5b575;p=emacs.git Better full-screen frame support on MS-Windows. src/w32fns.c (w32_fullscreen_rect): New function to compute the window rectangle for the given fullscreen mode. (w32_wnd_proc): When in a fullscreen mode, WM_WINDOWPOSCHANGING no longer tunes the window size. This keeps the window's edges flush with the screen and allows the taskbar to hide itself in fullboth. src/w32term.c (w32fullscreen_hook): 'fullboth' now shows without window decorations and uses the entire screen. src/w32term.h (w32_fullscreen_rect) Add prototype. (struct w32_output): Replace normal_width, normal_height, normal_top, and normal_left members with a single normal_placement struct. (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP): Remove macros. (FRAME_NORMAL_PLACEMENT): New macro. Fixes: debbugs:14180 --- 806bda47ddb469f6206ecc533458eadae6a5b575 diff --cc src/ChangeLog index 04a6c353619,402792b5460..5164dc8ff8d --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,67 -1,3 +1,86 @@@ ++2013-04-20 Erik Charlebois ++ ++ * w32fns.c (w32_fullscreen_rect): New function to compute the ++ window rectangle for the given fullscreen mode. ++ (w32_wnd_proc): When in a fullscreen mode, WM_WINDOWPOSCHANGING no ++ longer tunes the window size. This keeps the window's edges flush ++ with the screen and allows the taskbar to hide itself in fullboth. ++ ++ * w32term.c (w32fullscreen_hook): 'fullboth' now shows without ++ window decorations and uses the entire screen. ++ ++ * w32term.h (w32_fullscreen_rect) Add prototype. ++ (struct w32_output): Replace normal_width, normal_height, ++ normal_top, and normal_left members with a single normal_placement ++ struct. ++ (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP): ++ Remove macros. ++ (FRAME_NORMAL_PLACEMENT): New macro. ++ +2013-04-16 Juanma Barranquero + + * minibuf.c (Ftest_completion): Silence compiler warning. + +2013-04-15 Eli Zaretskii + + * w32fns.c (w32_wnd_proc): Add more assertions to investigate + bug#14062. + + * frame.h (WINDOW_FRAME): Protect macro and its argument with + parentheses. + + * dispextern.h (CURRENT_MODE_LINE_HEIGHT) + (CURRENT_HEADER_LINE_HEIGHT, WINDOW_WANTS_MODELINE_P) + (WINDOW_WANTS_HEADER_LINE_P): Protect macro arguments with + parentheses where appropriate. + +2013-04-14 Paul Eggert + + * keyboard.c (timer_start_idle): Remove no-longer-used local. + +2013-04-14 Eli Zaretskii + + * buffer.c (syms_of_buffer) + : + Mention in the doc string that setting these variables takes + effect only after a call to set-window-buffer. (Bug#14200) + +2013-04-13 Eli Zaretskii + + * indent.c (Fvertical_motion): Don't consider display strings on + overlay strings as display strings on the buffer position we + started from. This prevents vertical cursor motion from jumping + more than one line when there's an overlay string with a display + property at end of line. + Reported by Karl Chen in + http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00362.html. + +2013-04-12 Stefan Monnier + + * window.c (select_window): `record_buffer' even if window is + already selected (bug#14191). + +2013-04-11 Eli Zaretskii + + * window.c (Fwindow_end): Test more flags, including the buffer's + last_overlay_modified flag, to determine whether the window's + display is really up-to-date. Prevents the function from + returning a stale value. (Bug#14170) + (Fwindow_line_height): Fix the test for up-to-date-ness of the + current matrix. + +2013-04-10 Eli Zaretskii + + * frame.c (do_switch_frame): Mark the TTY frame we switch to as + garbaged only if it is not already the top frame on its TTY. + This prevents flickering due to constant redrawing of TTY frames when + there are GUI frames open in the same session. (Bug#13864) + +2013-04-10 Stefan Monnier + + * keyboard.c (timer_start_idle): Call internal-timer-start-idle instead + of marking the idle timers directly. + 2013-04-09 Stefan Monnier * minibuf.c (Ftest_completion): Ignore non-string/symbol keys in hash