diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-03 06:53:52 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-03 06:53:52 +0100 |
| commit | e851c99b946e9aef12328d116e493feae25dd1ab (patch) | |
| tree | 606aaa0ab82c3b6bac1eab36ff0cfd57df6cd140 /corfu.el | |
| parent | 3f01b49373af2d28a8a6fdd7e09040d4aaef1d0f (diff) | |
add workspace offsetexwm-workspace-offset
Diffstat (limited to 'corfu.el')
| -rw-r--r-- | corfu.el | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -502,6 +502,12 @@ FRAME is the existing frame." (set-window-dedicated-p win t)) (redirect-frame-focus frame parent) (set-frame-size frame width height t) + (when-let (((bound-and-true-p exwm--connection)) + ((not (frame-parent frame))) + (ws (bound-and-true-p exwm-workspace--current))) + (pcase-let ((`(,xoff ,yoff ,_w ,_h) (frame-monitor-geometry ws))) + (cl-incf x xoff) + (cl-incf y yoff))) (unless (equal (frame-position frame) (cons x y)) (set-frame-position frame x y))) (make-frame-visible frame) |
