~onboard/onboard/1.1

« back to all changes in this revision

Viewing changes to Onboard/KeyboardWidget.py

  • Committer: marmuta
  • Date: 2015-08-20 13:05:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1972.
  • Revision ID: marmvta@gmail.com-20150820130519-ceidlz2iqkgewuiz
Merge trunk rev. 1972: Hide pauses due to auto-saving large language models by waiting until the keyboard becomes idle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
791
791
            self.invalidate_for_resize(self._lod)
792
792
 
793
793
    def on_enter_notify(self, widget, event):
 
794
        self.keyboard.on_activity_detected()
 
795
 
794
796
        self._update_double_click_time()
795
797
 
796
798
        # ignore event if a mouse button is held down
858
860
 
859
861
    def on_input_sequence_begin(self, sequence):
860
862
        """ Button press/touch begin """
 
863
        self.keyboard.on_activity_detected()
 
864
 
861
865
        self.stop_click_polling()
862
866
        self.stop_dwelling()
863
867
        self.close_key_popup()