Skip to content

Commit

Permalink
log the buggy dpi values
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Feb 13, 2023
1 parent cb6ac21 commit 6e5c268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/gtk_common/gtk_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def vwy(v):
xdpi = dpi(sw, wmm)
ydpi = dpi(sh, hmm)
if xdpi<MIN_DPI or xdpi>MAX_DPI or ydpi<MIN_DPI or ydpi>MAX_DPI:
log("ignoring invalid screen size %ix%imm", wmm, hmm)
log(f"ignoring invalid DPI {xdpi},{ydpi} from screen size {wmm}x{hmm}mm")
if os.environ.get("WAYLAND_DISPLAY"):
log(" (wayland display?)")
if n_monitors>0:
Expand Down

0 comments on commit 6e5c268

Please sign in to comment.