Make dblclick titlebar maximize
From Fluxbox-wiki
(Redirected from Howto Make dblclick titlebar maximize)
What to do? grab the sources of fluxbox from fluxbox.org gentoo users can use
emerge -f fluxbox
unpack the tarball locate the file Window.cc. then search for (around line 3900)
void FluxboxWindow::setupWindow()
After that a block of lines starting with CommandRef... begins. There add the line:
CommandRef maximize_cmd(new WindowCmd(*this, &FluxboxWindow::maximizeFull));
After that search for a Block of lines that start with frame().setOnClickTitlebar..., there ad the line:
frame().setOnClickTitlebar(maximize_cmd, 1,true);
compile the source and it's done. For gentoo to emerge this tarball you first have to do a
ebuild usr/portage/x11-wm/fluxbox/fluxbox-0.9.14-r1.ebuild digest
and then
emerge fluxbox
For everyone else simply just
./configure && make && make install
as you normally would. For more help on building fluxbox from source please visit this page
NOTE: Line numbers may change from version to version. This is known to work on version 0.9.14

