From cb6427623160372b597def2f91a18bcade9e3157 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 10 Feb 2024 15:49:04 +0000 Subject: emacs: Fix odd behavior in my/focus-frame Calling my/focus-frame twice in a row would move the frame out of position if the frame had not been manually moved or resized before. --- emacs/functions.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'emacs') diff --git a/emacs/functions.el b/emacs/functions.el index fcf8b66..3e879cc 100644 --- a/emacs/functions.el +++ b/emacs/functions.el @@ -66,9 +66,9 @@ enabled." "Focus FRAME." (interactive) (delete-other-windows) - (modify-frame-parameters frame '((fullscreen . fullheight) - (left . 0.5) - (width . 100)))) + (modify-frame-parameters frame '((height . 1.0) (width . 0.5) + (left . 0.5) (top . 1.0) + (user-position . t)))) ;; Misc. Stuff -- cgit v1.2.3-70-g09d2