Function: handle-move-frame

handle-move-frame is an interactive and byte-compiled function defined in frame.el.gz.

Signature

(handle-move-frame EVENT)

Documentation

Handle a move-frame event.

This function runs the abnormal hook move-frame-functions.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun handle-move-frame (event)
  "Handle a move-frame event.
This function runs the abnormal hook `move-frame-functions'."
  (interactive "e")
  (let ((frame (posn-window (event-start event))))
    (when (frame-live-p frame) ;Experience shows it can die in the meantime.
      (run-hook-with-args 'move-frame-functions frame))))