diff --git a/src/Theme.cc b/src/Theme.cc index dd5b561a..d7d24ed4 100644 --- a/src/Theme.cc +++ b/src/Theme.cc @@ -41,7 +41,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Theme.cc,v 1.25 2002/08/04 15:41:26 fluxgen Exp $ +// $Id: Theme.cc,v 1.26 2002/08/24 19:06:06 fluxgen Exp $ #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -382,27 +382,46 @@ void Theme::loadMenuStyle() { void Theme::loadWindowStyle() { + //read textures + readDatabaseTexture("window.title.focus", "Window.Title.Focus", &m_windowstyle.t_focus, WhitePixel(m_display, m_screennum)); + if ( (m_windowstyle.t_focus.type() & FbTk::Texture::PARENTRELATIVE) ) { + cerr<<"Warning: window.title.focus type is ParentRelative. Using flat solid!"<