This ugly global flag in text3.C seems to not be needed anymore. The functionality (as declared in a comment removed in the patch) should be nowadays taken care by the frontends, who only send DRAG events if the PRESS event was inside the workarea too.
Of course, I might be missing entirely the point ;-) Tested with qt and xforms, seems to work fine (actually getting rid of it fixes a bug). Comments? Regards, Alfredo