mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-04 17:16:27 +00:00
log window parent for x11
This commit is contained in:
@@ -471,6 +471,8 @@ void Events::listener_surfaceXWayland(wl_listener* listener, void* data) {
|
|||||||
const auto XWSURFACE = (wlr_xwayland_surface*)data;
|
const auto XWSURFACE = (wlr_xwayland_surface*)data;
|
||||||
|
|
||||||
Debug::log(LOG, "New XWayland Surface created (class %s).", XWSURFACE->_class);
|
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();
|
g_pCompositor->m_lWindows.emplace_back();
|
||||||
const auto PNEWWINDOW = &g_pCompositor->m_lWindows.back();
|
const auto PNEWWINDOW = &g_pCompositor->m_lWindows.back();
|
||||||
|
Reference in New Issue
Block a user