diff src/uicmd.cc @ 2012:bfb8bc9ddf62

Avoid lots of flicker while resizing the window (when "buffered_drawing" is set to 0 or 1)
author Jorge Arellano Cid <jcid@dillo.org>
date Fri, 13 May 2011 14:14:43 -0400
parents a204cc949c1a
children f542084fa707
line wrap: on
line diff
--- a/src/uicmd.cc	Thu May 12 07:56:42 2011 -0400
+++ b/src/uicmd.cc	Fri May 13 14:14:43 2011 -0400
@@ -96,6 +96,7 @@
       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 @@
    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();