To: vim_dev@googlegroups.com Subject: Patch 8.1.2318 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///