+2013-08-07 Martin Rudalics <rudalics@gmx.at>
+
+ * w32term.c (w32fullscreen_hook): Really maximize frame when
+ asked for (Bug#14841).
+
2013-08-07 Dmitry Antipov <dmantipov@yandex.ru>
Prefer selected_window to Fselected_window, likewise for frames.
w32_fullscreen_rect (hwnd, f->want_fullscreen,
FRAME_NORMAL_PLACEMENT (f).rcNormalPosition, &rect);
FRAME_PREV_FSMODE (f) = f->want_fullscreen;
- if (f->want_fullscreen == FULLSCREEN_BOTH)
+ if (f->want_fullscreen == FULLSCREEN_MAXIMIZED)
+ PostMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, 0xf030, 0);
+ else if (f->want_fullscreen == FULLSCREEN_BOTH)
{
SetWindowLong (hwnd, GWL_STYLE, dwStyle & ~WS_OVERLAPPEDWINDOW);
SetWindowPos (hwnd, HWND_TOP, rect.left, rect.top,