I'm using Evince as my Pdf-Viewer (In a split-screen-setup) whenever i write something in org-mode and compile it as a pdf. To achieve this, i've added
(add-to-list 'org-file-apps '("pdf" . "evince %s"))
to my .emacs and it simply works. However, when i compile and open as a pdf from org-mode, Emacs loses focus onto Evince.
The desired behavior would be for Emacs to obtain focus and run Evince in the background so that i wouldn't have to switch back to Emacs, whenever i compile as a pdf