Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ace-window.el
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,10 @@ Its value is an (x-offset . y-offset) pair in pixels."

(defcustom aw-frame-size nil
"Frame size to make new ace-window frames.
Its value is a (width . height) pair in pixels or nil for the default frame size.
(0 . 0) is special and means make the frame size the same as the last selected frame size."
Its value is a (width . height) pair, where width is in characters and
height is in text lines, as passed to `make-frame'. Nil means use the
default frame size. (0 . 0) means match the size of the currently
selected frame."
:type '(cons integer integer))

(defcustom aw-char-position 'top-left
Expand Down Expand Up @@ -467,7 +469,7 @@ LEAF is (PT . WND)."
(cons 'height
(if (zerop (cdr aw-frame-size))
(frame-height)
(car aw-frame-size))))
(cdr aw-frame-size))))
(cons 'left (+ (car aw-frame-offset)
(car (frame-position))))
(cons 'top (+ (cdr aw-frame-offset)
Expand Down