This commit is contained in:
Kovid Goyal 2017-05-20 00:23:43 +05:30
parent a65856ec98
commit 357a415386
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -83,6 +83,7 @@ def x11_dpi_native():
return float(line.split()[1])
finally:
XCloseDisplay(display)
raise RuntimeError('Failed to get dpi resource')
def x11_dpi():