diff --git a/source/Platform/Unix/X11Display.cpp b/source/Platform/Unix/X11Display.cpp index 1f5144c..8b87b2e 100644 --- a/source/Platform/Unix/X11Display.cpp +++ b/source/Platform/Unix/X11Display.cpp @@ -111,6 +111,8 @@ void* X11Display::getHandle() const void X11Display::setSize(unsigned int width, unsigned int height) { + Log::info("X11: Set size %dx%d", width, height); + // X11 does not like if width or height is zero. if (width == 0) { width = 1; @@ -317,7 +319,7 @@ void X11Display::processEvent(const ::XEvent& event) if (m_size != size) { m_size = size; - Log::info("X11: Resize event"); + Log::info("X11: Resize event %dx%d", m_size.x, m_size.y); onReshape(size.x, size.y); } break;