Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"activate" argument can work in Linux! #91

Open
TomaszGasior opened this issue Jun 30, 2016 · 0 comments
Open

"activate" argument can work in Linux! #91

TomaszGasior opened this issue Jun 30, 2016 · 0 comments

Comments

@TomaszGasior
Copy link

TomaszGasior commented Jun 30, 2016

In file linux/init.py i found this information:
def __init__(self, activate_browser): # activate_browser is always true on Windows since you can't # send keys to an inactive window programmatically. We ignore it. self.activate_browser = activate_browser

This is not true. This is possible according to window manager used by user desktop environment. I use for example XFCE4 and his Xfwm. When I remove from linux/init.py on line 40 "windowfocus" command I can refresh browser without window focusing.


I fount after moment second problem. There is used "--sync" switch for xdotool. It causes problems when browser in "browser" parameter is not open. Sublime hangs because xdotool wait for window that is not open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant