~onboard/onboard/1.1

« back to all changes in this revision

Viewing changes to Onboard/KbdWindow.py

  • Committer: marmuta
  • Date: 2015-08-19 11:24:26 UTC
  • Revision ID: marmvta@gmail.com-20150819112426-edgaa9yacttl57eb
Merge trunk rev. 1954: Fix jerky window movement when moving by title bar, i.e. with window decoration enabled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
731
731
        if result == 0:
732
732
            self.update_home_rect()
733
733
 
 
734
            # While moving with the title bar...
 
735
            if config.has_window_decoration():
 
736
 
 
737
                # stop auto-show from hiding the keyboard
 
738
                keyboard = self.keyboard_widget.keyboard
 
739
                keyboard.freeze_auto_show(1.0)
 
740
 
 
741
                # cut off any leftover auto-show repositioning
 
742
                self.stop_auto_positioning()
 
743
 
734
744
    def _filter_configure_event(self, rect):
735
745
        """
736
746
        Returns 0 for detected user positioning/sizing.