Window management under MacOSX is usually a pain, e.g. switching the focus between different windows, as it happens largely in GIMP.
With the following lines, this double click behavior can be disabled:
defaults write org.x.X11 wm_ffm -bool false defaults write org.x.X11 wm_click_through -bool true