DoubleClickTogglesFullscreen

how do i use bDoubleClickTogglesFullscreen? i want my window to go fullscreen when double clicking the titlebar, instead of maximizing it. i put bDoubleClickTogglesFullscreen=True inside my ini files, but it doesnt work. what am i missing?