gcollazo / gcollazo/BrowserRefresh-Sublime
"activate" argument can work in Linux!
- Dominant language
- Python
- Stars
- 560
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.