]> code.delx.au - gnu-emacs/commit
Better full-screen frame support on MS-Windows.
authorErik Charlebois <erikcharlebois@gmail.com>
Sat, 20 Apr 2013 07:32:31 +0000 (10:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 20 Apr 2013 07:32:31 +0000 (10:32 +0300)
commit806bda47ddb469f6206ecc533458eadae6a5b575
tree8f5723c3984be59136b488290889ea5cab6573df
parent38ef2c8490eaa74e22504386beebc6d88d287094
parent1f635a07be94be671832e5e3db052139265f6445
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
src/ChangeLog
src/w32fns.c