Patch 8.1.2318

9 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 17, 2019, 4:55:00 PM11/17/19
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages