From b5776e9e87a81604439a6746659ce3e41f84b886 Mon Sep 17 00:00:00 2001 From: tuomov Date: Tue, 1 Feb 2005 13:01:06 +0100 Subject: [PATCH] trunk: changeset 1945 Fixed loading of small frames with hidden tab-bar. darcs-hash:20050201120106-e481e-276732bc8e41dbec4f4ce204455dc0422e52cf5f.gz --- ioncore/frame.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ioncore/frame.c b/ioncore/frame.c index e8ddf53c..4445dc8b 100644 --- a/ioncore/frame.c +++ b/ioncore/frame.c @@ -604,8 +604,10 @@ void frame_do_load(WFrame *frame, ExtlTab tab) extl_table_gets_i(tab, "flags", &flags); - if(flags&FRAME_TAB_HIDE) - frame_toggle_tabbar((WFrame*)frame); + if(flags&FRAME_TAB_HIDE){ + frame->flags&=~FRAME_SHADED; + frame->flags|=FRAME_TAB_HIDE; + } frame->flags|=(flags&FRAME_DEST_EMPTY); -- 2.11.4.GIT