diff -Naur fluxbox-1.0.0/src/Window.cc fluxbox-1.0.0_dblmax/src/Window.cc --- fluxbox-1.0.0/src/Window.cc 2007-09-09 17:46:50.000000000 +0200 +++ fluxbox-1.0.0_dblmax/src/Window.cc 2008-02-15 17:10:14.000000000 +0100 @@ -3963,6 +3963,7 @@ CommandRef raise_and_focus_cmd(new WindowCmd(*this, &FluxboxWindow::raiseAndFocus)); CommandRef stick_cmd(new WindowCmd(*this, &FluxboxWindow::stick)); CommandRef show_menu_cmd(new WindowCmd(*this, &FluxboxWindow::popupMenu)); + CommandRef maximize_cmd(new WindowCmd(*this, &FluxboxWindow::maximizeFull)); typedef FbTk::Resource > WinButtonsResource; @@ -4024,6 +4025,7 @@ frame().setOnClickTitlebar(shade_cmd, 1, true); // doubleclick with button 1 frame().setOnClickTitlebar(show_menu_cmd, 3); // on release with button 3 frame().setOnClickTitlebar(lower_cmd, 2); // on release with button 2 + frame().setOnClickTitlebar(maximize_cmd, 1,true); // maximize dblclick b1 int reverse = 0; if (screen().getScrollReverse())