Skip to content

Commit

Permalink
more understandable message
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed May 7, 2022
1 parent 3a76209 commit 2805311
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions xpra/x11/bindings/randr_bindings.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1121,8 +1121,11 @@ cdef class RandRBindingsInstance(X11CoreBindingsInstance):
posinfo = ""
if x or y:
posinfo = " at %i,%i" % (x, y)
log.info("setting dummy crtc and output %i to %ix%i (%ix%i mm)%s",
i, width, height, mmw, mmh, posinfo)
if width==height==mmw==mmh==0:
log.info("disabling dummy crtc and output %i", i)
else:
log.info("setting dummy crtc and output %i to %ix%i (%ix%i mm)%s",
i, width, height, mmw, mmh, posinfo)
finally:
if output_info:
XRRFreeOutputInfo(output_info)
Expand Down

0 comments on commit 2805311

Please sign in to comment.