...
This commit is contained in:
parent
a65856ec98
commit
357a415386
1 changed files with 1 additions and 0 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Reference in a new issue