diff options
| author | Emanuel Krollmann <115734183+Sodastream11@users.noreply.github.com> | 2025-06-04 16:11:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-04 07:11:01 -0700 |
| commit | 7e393ff4f24b2e9d32bc6a008b2b8549f473aba5 (patch) | |
| tree | 647263767aa913f1b13f38ed766db8f2d3e34dc2 /runtime/lua/vim/_meta/vimfn.lua | |
| parent | dd9ac565d867b1388266969614530bedb7da7405 (diff) | |
| download | rneovim-7e393ff4f24b2e9d32bc6a008b2b8549f473aba5.tar.gz rneovim-7e393ff4f24b2e9d32bc6a008b2b8549f473aba5.tar.bz2 rneovim-7e393ff4f24b2e9d32bc6a008b2b8549f473aba5.zip | |
refactor(windows): redundant icon messages #34274
Problem: Two separate window messages are used to get
the original console icon and set a new
one on windows, although the `WM_SETICON`
message returns the original icon itself.
Solution: Replace the two `WM_GETICON` messages with
two `WM_SETICON` messages, save the return
values and remove the call to `os_icon_set`.
Also, replace `os_icon_set` with `os_icon_reset`
as its only usage is now resetting the
icon to the original one.
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
0 files changed, 0 insertions, 0 deletions