Re: Monitor attributes on Windows 11/WSL2
Eli Zaretskii <[email protected]> Sat, 01 Aug 2026 12:51:53 +0300
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
> From: Arash Esbati <[email protected]> > Date: Thu, 30 Jul 2026 11:33:08 +0200 > > 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. Martin, any suggestions or ideas?