Monitor attributes on Windows 11/WSL2
Arash Esbati <[email protected]> Thu, 30 Jul 2026 11:33:08 +0200
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, an AUCTeX user on Windows 11, WSL2, Ubuntu 22.04.5 LTS reported here[1] that the function `frame-monitor-attributes' returns this (line breaks added for legibility): ((name . "rdp") (geometry 0 108 2560 1440) (workarea 0 108 2560 1440) (mm-size 0 0) (scale-factor . 1.0) (frames #<frame *scratch* - GNU Emacs ...>) (source . "Gdk")) Note the mm-size values which break the functionality of AUCTeX preview. I can fix this in AUCTeX sources to deal with the 0 values, but is this the expected behavior? I don't use Windows/WSL2 so I can't test this myself. I suspect "rdp" means Remote Desktop Protocol. TIA. Best, Arash Footnotes: [1] https://emacs.stackexchange.com/q/85878/12242