I often accidentally drag a frame when I am trying to click on a histogram or an axis. I would like to disable click-drag of any TFrame. From a different thread, (How do I prevent user from moving TFrames?), I know that I can prevent it with gPad->FindObject(“TFrame”)->SetBit(TBox::kCannotMove). However, I would like to have this bit be set on all instances, not just the current one.
Is there a way to set kCannotMove as the default for all TFrames? Ideally, I would like something that could be dropped into my rootlogon script and then applied to all TFrames afterward.