Seems like a different DPI value is detected after the change.
There are a couple of sources Awesome asks to determine a DPI value to use.
- Users can explicitly assign a DPI value to a screen (
s.dpi = 42
).
- By default, AwesomeWM uses the following chain to detect a DPI value:
- The value
Xft.dpi
from the X resource database: awesome-client 'return awesome.xrdb_get_value("", "Xft.dpi")'
- The size of the root window as reported by the X11 server (size in px and size in mm allows to compute a DPI):
awesome-client 'return require("gears.debug").dump_return{size = {root.size()}, size_mm = {root.size_mm()}}'
- Do you set
auto_dpi_enabled
anywhere in your config?
- If so... uhm, I am not quite sure currently what values are used. I think it tries to get the numbers from RandR.
Anyway, the following command should produce the DPI value that AwesomeWM settled on:
awesome-client 'local res = {} for s in screen do res[s] = s.dpi end return require("gears.debug").dump_return(res)'
Sorry, this answer is very much not an answer. However, your question is also more of a bug report than a question... sorry.