Fix maximization behavior on Windows (Bug#16300).
commit5159d5902f0a6f48b354bc568f086d99c2e64ea0
authorMartin Rudalics <rudalics@gmx.at>
Sat, 4 Jan 2014 09:31:30 +0000 (4 10:31 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 4 Jan 2014 09:31:30 +0000 (4 10:31 +0100)
treeb12715cf886b6906d1953a02b21a812658d26f43
parenta71324ccb69f9e3af5b1c613a60111c8f3885ce0
Fix maximization behavior on Windows (Bug#16300).

Fix maximization behavior on Windows (Bug#16300).
* w32fns.c (w32_fullscreen_rect): Don't handle
FULLSCREEN_MAXIMIZED and FULLSCREEN_NONE specially.
* w32term.c (w32fullscreen_hook): Use SetWindowPlacement instead
of SetWindowPos.  Restore last placement also when leaving
FULLSCREEN_HEIGHT and FULLSCREEN_WIDTH.  Call ShowWindow in all
but the FULLSCREEN_BOTH case.
src/ChangeLog
src/w32fns.c
src/w32term.c