Mercurial > dillo_port1.3
changeset 380:9a6fb1b2e5e4
- Switched to TabGroup to PAGER_SHRINK to avois redraw storms.
author | jcid |
---|---|
date | Fri, 03 Oct 2008 17:12:41 +0200 |
parents | 52f65d7a0e7c |
children | a6e2a67f8393 |
files | src/dillo.cc |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dillo.cc Fri Oct 03 16:51:03 2008 +0200 +++ b/src/dillo.cc Fri Oct 03 17:12:41 2008 +0200 @@ -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 @@ // 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);