Commit 97b642ab authored by Thorsten Wißmann's avatar Thorsten Wißmann 🎸
Browse files

Fix the view interface in katarakt.el

The view command in the dbus interface expects the coordinates as
doubles, not as ints.
parent a85ea642
......@@ -86,7 +86,7 @@ Returns a list (FILE LINE COLUMN)"
(defun katarakt--call-view (pdf page x y)
"View the specified location PDF:X:Y in katarakt."
(dbus-call-method :session (katarakt--service-name) "/"
"katarakt.SourceCorrelate" "view" pdf :int32 (- page 1) :int32 x :int32 y))
"katarakt.SourceCorrelate" "view" pdf :int32 (- page 1) :double x :double y))
(defun katarakt--signal-handler (file page x y)
"Handle dbus signal from katarakt."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment