branch: externals/posframe
commit 6ddf9c30b551ba3e246639783c73d37ca0392eed
Author: SeungKi Kim <[email protected]>
Commit: SeungKi Kim <[email protected]>
Remove no longer used variable
Remove no longer used `posframe--previous-frame'.
Update the description of `posframe--redirect-posframe-focus'.
---
posframe.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/posframe.el b/posframe.el
index e72544d..1ae48c9 100644
--- a/posframe.el
+++ b/posframe.el
@@ -595,10 +595,8 @@ You can use `posframe-delete-all' to delete all posframes."
(cons position height))
height)))
-(defvar posframe--previous-frame nil)
-
(defun posframe--redirect-posframe-focus ()
- "Redirect focus from the posframe to the previous frame. This prevents the
+ "Redirect focus from the posframe to the parent frame. This prevents the
posframe from catching keyboard input if the window manager selects it."
(when (eq (selected-frame) posframe--frame)
(redirect-frame-focus posframe--frame (frame-parent))))