aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-03 17:12:41 +0200
committerjcid <devnull@localhost>2008-10-03 17:12:41 +0200
commit5a67c8be446fd68f5aeb34a1a132b8d8a6771499 (patch)
treec178b98905c3b8691ab4a1765ca2adb036d2ee09 /src
parent6f47577c7012d6ef9a7c958a162ba516cde653a2 (diff)
- Switched to TabGroup to PAGER_SHRINK to avois redraw storms.
Diffstat (limited to 'src')
-rw-r--r--src/dillo.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index f8293f0b..1e9c31a6 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -25,6 +25,7 @@
#include <signal.h>
#include <fltk/Window.h>
+#include <fltk/TabGroup.h>
#include <fltk/run.h>
#include "msg.h"
@@ -103,6 +104,10 @@ int main(int argc, char **argv)
// Sets WM_CLASS hint on X11
fltk::Window::xclass("dillo");
+
+ // WORKAROUND: sometimes the default pager triggers redraw storms
+ fltk::TabGroup::default_pager(fltk::PAGER_SHRINK);
+
// Create a new UI/bw pair
BrowserWindow *bw = a_UIcmd_browser_window_new(0, 0, NULL);