diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-01-26 15:15:47 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-01-26 15:15:47 +0100 |
commit | 9018af44dadebb5ed50ba9336007fc9da653a9a0 (patch) | |
tree | 72679584f53464b51dc926a1da44540d6feb95c8 /vncviewer | |
parent | 5789572d977a77896efbeaf53c055904057f29c3 (diff) | |
download | tigervnc-9018af44dadebb5ed50ba9336007fc9da653a9a0.tar.gz tigervnc-9018af44dadebb5ed50ba9336007fc9da653a9a0.zip |
More debug logging for screen layout changes
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/DesktopWindow.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index 423d2df3..e2046624 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -798,8 +798,11 @@ void DesktopWindow::remoteResize(int width, int height) (layout == cc->cp.screenLayout)) return; - vlog.debug("Requesting framebuffer resize from %dx%d to %dx%d (%d screens)", - cc->cp.width, cc->cp.height, width, height, layout.num_screens()); + char buffer[2048]; + vlog.debug("Requesting framebuffer resize from %dx%d to %dx%d", + cc->cp.width, cc->cp.height, width, height); + layout.print(buffer, sizeof(buffer)); + vlog.debug("%s", buffer); if (!layout.validate(width, height)) { vlog.error(_("Invalid screen layout computed for resize request!")); |