if inverse search invoked for the first time, then check if viewer open

This commit is contained in:
Enno Nagel 2015-01-13 12:27:46 +01:00
parent a9444bd4b6
commit 17f184a866

View File

@ -125,9 +125,8 @@ function! latex#view#mupdf_rsearch() "{{{1
let mupdf_id = data.mupdf_id
if mupdf_id == 0
return
endif
let data.mupdf_rsearch = {}
let outfile = data.out()
" Get page number
let cmd = "xdotool getwindowname " . mupdf_id