Fixed problem with \lv mapping (#180)

This commit is contained in:
Karl Yngve Lervåg 2015-06-08 09:14:07 +02:00
parent 374d5c984f
commit 7cc2fd2877

View File

@ -469,7 +469,7 @@ endfunction
function! s:focus_viewer() dict " {{{1
if !executable('xdotool') | return | endif
if self.xwin_exists()
if self.xwin_id > 0
silent call system('xdotool windowfocus ' . self.xwin_id . ' --sync')
endif
endfunction