From 942f4fc9d515e6bfd001a73da143e8e08d781244 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 8 Dec 2014 20:38:38 +0100 Subject: 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. --- src/uicmd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3