From 67e645be25a6896857814fcd273fb652a8bef0bc Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 24 Feb 2016 19:10:31 +0100 Subject: [PATCH] CComponentsWindow: ensure default disable background paint on window Only basic items should have enabled background paint as default. Should be better for performance. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/0f64aff1dc931c13935862893c6d47ba56fdd126 Author: Thilo Graf Date: 2016-02-24 (Wed, 24 Feb 2016) --- src/gui/components/cc_frm_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_window.cpp b/src/gui/components/cc_frm_window.cpp index f964a7f06..e3481ac93 100644 --- a/src/gui/components/cc_frm_window.cpp +++ b/src/gui/components/cc_frm_window.cpp @@ -133,7 +133,7 @@ void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const ccw_icon_name = iconname; dprintf(DEBUG_DEBUG, "[CComponentsWindow] [%s - %d] icon name = %s\n", __func__, __LINE__, ccw_icon_name.c_str()); - + paint_bg = false; shadow = shadow_mode; col_frame = color_frame; col_body = color_body;