diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2024-02-10 15:49:04 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2024-02-10 15:49:04 +0000 |
| commit | cb6427623160372b597def2f91a18bcade9e3157 (patch) | |
| tree | 640644a835957f760dee7ebfc622e2192b1722c1 | |
| parent | 9d369d79a27ab24a345fee51d053b22a08c6129d (diff) | |
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.
| -rw-r--r-- | emacs/functions.el | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
