From 9018af44dadebb5ed50ba9336007fc9da653a9a0 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 26 Jan 2015 15:15:47 +0100 Subject: More debug logging for screen layout changes --- vncviewer/DesktopWindow.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'vncviewer/DesktopWindow.cxx') 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!")); -- cgit v1.2.3