Skip to content
Permalink
Browse files

Set --desktop option to workaround jordansissel/xdotool#67

  • Loading branch information...
betterphp committed Mar 20, 2019
1 parent 7f2045a commit 285dccda57ac98296e393fda13818c7136242586
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/browser-reload-linux.vim
@@ -23,7 +23,7 @@ function! s:ReloadBrowser(browser, ...)
let l:searchArgs = "--class " . "'" . a:browser . "'"
endif

exec "silent ! xdotool search --onlyvisible " l:searchArgs . l:activateCommand . " key --clearmodifiers ctrl+r"
exec "silent ! xdotool search --onlyvisible --desktop 0 " l:searchArgs . l:activateCommand . " key --clearmodifiers ctrl+r"

if g:returnAppFlag
exec "silent ! xdotool windowactivate " . l:currentWindow

0 comments on commit 285dccd

Please sign in to comment.
You can’t perform that action at this time.