Patch 8.1.2318 (after 8.1.2301)
Problem: MS-Windows GUI: main background shows in toolbar.
Solution: Remove transparency from the toolbar. (Simon Sadler)
Files: src/gui_w32.c
*** ../vim-8.1.2317/src/gui_w32.c 2019-11-15 22:41:10.915860955 +0100
--- src/gui_w32.c 2019-11-17 22:51:44.476111844 +0100
***************
*** 7859,7864 ****
--- 7859,7870 ----
TOOLBAR_BUTTON_HEIGHT,
sizeof(TBBUTTON)
);
+
+ // Remove transparency from the toolbar to prevent the main window
+ // background colour showing through
+ SendMessage(s_toolbarhwnd, TB_SETSTYLE, 0,
+ SendMessage(s_toolbarhwnd, TB_GETSTYLE, 0, 0) & ~TBSTYLE_TRANSPARENT);
+
s_toolbar_wndproc = SubclassWindow(s_toolbarhwnd, toolbar_wndproc);
gui_mch_show_toolbar(vim_strchr(p_go, GO_TOOLBAR) != NULL);
*** ../vim-8.1.2317/src/version.c 2019-11-17 20:10:15.584839046 +0100
--- src/version.c 2019-11-17 22:53:51.983966800 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 2318,
/**/
--
>From "know your smileys":
:-D Big smile
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201911172154.xAHLsnbF029599%40masaka.moolenaar.net.