diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-12-08 20:38:38 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-12-08 20:38:38 +0100 |
commit | 942f4fc9d515e6bfd001a73da143e8e08d781244 (patch) | |
tree | cdbb81cb2e42fdfe02a90d82f70f9d4f01eb0120 /src | |
parent | 6af9977ec9da65061c48b0279a2a07e32fac9ec0 (diff) |
make sure window is resizable with fltk-1.3.3
A change introduced in fltk-1.3.3 makes it necessary to set the
resizable of the window before any focus change is triggered.
Otherwise the Dillo window cannot be resized in certain situations.
Diffstat (limited to 'src')
-rw-r--r-- | src/uicmd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc index 4f737255..e09bbf60 100644 --- a/src/uicmd.cc +++ b/src/uicmd.cc @@ -551,10 +551,10 @@ BrowserWindow *a_UIcmd_browser_window_new(int ww, int wh, win->box(FL_NO_BOX); CustTabs *DilloTabs = new CustTabs(ww, wh, 16); win->end(); + win->resizable(DilloTabs->wizard()); int focus = 1; new_bw = UIcmd_tab_new(DilloTabs, old_ui, focus); - win->resizable(DilloTabs->wizard()); win->show(); if (old_bw == NULL && prefs.xpos >= 0 && prefs.ypos >= 0) { |