]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0863: MS-Windows GUI: window contents can be missing when VimEnter is slow v9.2.0863
authorHirohito Higashi <h.east.727@gmail.com>
Mon, 27 Jul 2026 20:19:48 +0000 (20:19 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 27 Jul 2026 20:19:48 +0000 (20:19 +0000)
commitf546abd51b72b46429bec32dfd093ef6868035c4
tree56738821c9b498462a2a90568b02ea04437b0297
parent6230e0d30e6b86c758ac9d1936c4e75c8d49b906
patch 9.2.0863: MS-Windows GUI: window contents can be missing when VimEnter is slow

Problem:  On MS-Windows the text area can stay undrawn while a slow VimEnter
          autocommand runs, so the window shows what was on the screen behind
          it. Whether this happens depends on when the first paint message
          arrives.
Solution: Draw the text area when the window is opened, instead of waiting for
          the message loop.

related: #20807
closes:  #20858

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/gui_w32.c
src/version.c