1) Install Easystroke Gesture Recognition from repository
sudo apt-get install easystroke
2) Open Easystroke then go to preferences tab, in Behavior section click Gesture Button
and right click on the rectangular area in Select a Mouse or Pen Button window.
3) In Timeout Profile dropdown list pick up Timeout Off