From 9f407b9018321842d1b5ab8fe12c02586ff3cb0f Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 28 Jun 2022 12:46:32 +0200 Subject: [PATCH] log window parent for x11 --- src/events/Windows.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 983275d5..23175abc 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -471,6 +471,8 @@ void Events::listener_surfaceXWayland(wl_listener* listener, void* data) { const auto XWSURFACE = (wlr_xwayland_surface*)data; Debug::log(LOG, "New XWayland Surface created (class %s).", XWSURFACE->_class); + if (XWSURFACE->parent) + Debug::log(LOG, "Window parent data: %s at %x", XWSURFACE->parent->_class, XWSURFACE->parent); g_pCompositor->m_lWindows.emplace_back(); const auto PNEWWINDOW = &g_pCompositor->m_lWindows.back();