* lisp/x-dnd.el (x-dnd-after-move-frame): Skip dead frames. (Bug#63312)
This commit is contained in:
parent
a081b6625b
commit
15e06260ae
1 changed files with 3 additions and 2 deletions
|
@ -609,8 +609,9 @@ message (format 32) that caused EVENT to be generated."
|
||||||
(defun x-dnd-after-move-frame (frame)
|
(defun x-dnd-after-move-frame (frame)
|
||||||
"Handle FRAME moving to a different position.
|
"Handle FRAME moving to a different position.
|
||||||
Clear any cached root window position."
|
Clear any cached root window position."
|
||||||
(set-frame-parameter frame 'dnd-root-window-position
|
(and (frame-live-p frame)
|
||||||
nil))
|
(set-frame-parameter frame 'dnd-root-window-position
|
||||||
|
nil)))
|
||||||
|
|
||||||
(add-hook 'move-frame-functions #'x-dnd-after-move-frame)
|
(add-hook 'move-frame-functions #'x-dnd-after-move-frame)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue