lisp/window.el (window--pixel-to-total): Use FRAME's root window, not that of the selected frame.
Attach a file by drag & drop or click to upload