Skip to content

Commit

Permalink
Merge pull request #31 from vixen-project/fix-ui-freeze
Browse files Browse the repository at this point in the history
This seems to fix #29.
  • Loading branch information
prabhuramachandran authored Aug 7, 2019
2 parents d2618b7 + 2f9783a commit b9d1e57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
language: python
dist: xenial
services:
- xvfb
python:
- 2.7
- 3.6
Expand All @@ -17,9 +20,6 @@ before_script:
- mkdir geckodriver
- tar -xzf geckodriver*.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start

script:
- coverage erase
Expand Down
1 change: 1 addition & 0 deletions vixen/ui_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def _make_root():
root.deiconify()
root.lift()
root.focus_force()
root.withdraw()
if sys.platform == 'darwin':
tmpl = 'tell application "System Events" to set frontmost '\
'of every process whose unix id is {} to true'
Expand Down

0 comments on commit b9d1e57

Please sign in to comment.