diff --git a/autoload/vimtex/view.vim b/autoload/vimtex/view.vim index 7ff383d..5af196e 100644 --- a/autoload/vimtex/view.vim +++ b/autoload/vimtex/view.vim @@ -471,6 +471,7 @@ function! s:focus_viewer() dict " {{{1 if self.xwin_id > 0 silent call system('xdotool windowfocus ' . self.xwin_id . ' --sync') + silent call system('xdotool windowraise ' . self.xwin_id) endif endfunction