aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-05-13 14:14:43 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-05-13 14:14:43 -0400
commit0b50246dca460726123406508b59a01a308856ac (patch)
tree9fcba61d219901c67a22e2a4dee8ba3510c5e9ac /src
parent680ea8034bc88a5894d53a67fa65c595bde3e064 (diff)
Avoid lots of flicker while resizing the window
(when "buffered_drawing" is set to 0 or 1)
Diffstat (limited to 'src')
-rw-r--r--src/ui.cc1
-rw-r--r--src/uicmd.cc3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 27303115..5ca58e8e 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -683,6 +683,7 @@ UI::UI(int x, int y, int ui_w, int ui_h, const char* label, const UI *cur_ui) :
TabTooltip = NULL;
TopGroup = this;
TopGroup->type(VERTICAL);
+ TopGroup->box(FL_NO_BOX);
clear_flag(SHORTCUT_LABEL);
if (cur_ui) {
diff --git a/src/uicmd.cc b/src/uicmd.cc
index fd6067e6..02747e48 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -96,6 +96,7 @@ public:
Fl_Box *w = new Fl_Box(0,0,0,0,"i n v i s i b l e");
w->box(FL_NO_BOX);
resizable(0);
+ box(FL_FLAT_BOX);
end();
Wizard = new Fl_Wizard(0,tab_h,ww,wh-tab_h);
@@ -391,7 +392,7 @@ BrowserWindow *a_UIcmd_browser_window_new(int ww, int wh,
else
win = new Fl_Double_Window(ww, wh);
- //Fl_Group::current(0);
+ win->box(FL_NO_BOX);
CustTabs *DilloTabs = new CustTabs(ww, wh, 16);
win->end();