Function: hycontrol-frame-at-top-p

hycontrol-frame-at-top-p is a byte-compiled function defined in hycontrol.el.

Signature

(hycontrol-frame-at-top-p)

Documentation

Non-nil if selected frame's bottom is at the top of the screen.

Screen top is adjusted based on hycontrol-screen-top-offset.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hycontrol.el
(defun hycontrol-frame-at-top-p ()
  "Non-nil if selected frame's bottom is at the top of the screen.
Screen top is adjusted based on `hycontrol-screen-top-offset'."
  (<= (- (nth 1 (hycontrol-frame-edges)) hycontrol-screen-top-offset
	 ;; Under macOS, frames are automatically offset vertically by
	 ;; the height of the global menubar, so account for that.
	 (if (eq system-type 'darwin) 23 0))
      hycontrol-screen-offset-sensitivity))