Is there some option to make frame active when i create it? I can switch to it with this code, but maybe there's a way to do this without select-frame
func?
(defun show-misc-posframe ()
(when (posframe-workable-p)
(posframe-show "*spec-buffer*"
:poshandler 'posframe-poshandler-frame-top-right-corner
:height 45
:width 50
:override-parameters '((cursor-type box))))
(setq misc-posframe--frame (with-current-buffer "*spec-buffer*"
posframe--frame))
(select-frame misc-posframe--frame))