Mercurial > vim
diff src/gui.h @ 27160:4482dd5f8869 v8.2.4109
patch 8.2.4109: MS-Windows: high dpi support is outdated
Commit: https://github.com/vim/vim/commit/c81e9bf4f07d350b860b934aa6bf0c2a7c91d07e
Author: K.Takata <kentkt@csc.jp>
Date: Sun Jan 16 14:15:49 2022 +0000
patch 8.2.4109: MS-Windows: high dpi support is outdated
Problem: MS-Windows: high dpi support is outdated.
Solution: Improve High DPI support by using PerMonitorV2. (closes https://github.com/vim/vim/issues/9525,
closes #3102)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Jan 2022 15:30:04 +0100 |
parents | 5a1850512676 |
children | e257b6be5bd6 |
line wrap: on
line diff
--- a/src/gui.h +++ b/src/gui.h @@ -424,7 +424,7 @@ typedef struct Gui #endif #if defined(FEAT_TOOLBAR) \ - && (defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_HAIKU)) + && (defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_HAIKU) || defined(FEAT_GUI_MSWIN)) int toolbar_height; // height of the toolbar #endif