* src/w32fns.c (w32_set_undecorated): Actualize
f->output_data.w32->dwStyle for subsequent calls of
AdjustWindowRect (Bug#38705).
* src/w32term.h (struct w32_output): Add comment for
dwstyle slot.
| SWP_FRAMECHANGED);
FRAME_UNDECORATED (f) = false;
}
+
+ f->output_data.w32->dwStyle = GetWindowLong (hwnd, GWL_STYLE);
+
unblock_input ();
}
/* Non-hourglass cursor that is currently active. */
HCURSOR current_cursor;
+ /* The window style for this frame. Set up when the frame is
+ created and updated when adding/removing decorations in
+ w32_set_undecorated. Used by w32_set_window_size to adjust the
+ frame's window rectangle. */
DWORD dwStyle;
/* This is the Emacs structure for the display this frame is on. */