mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 05:10:20 +01:00
Implement review recommendations
This commit is contained in:
parent
3f8af7589c
commit
923de357e2
1 changed files with 4 additions and 4 deletions
|
|
@ -462,11 +462,11 @@ CXDGSurfaceResource::CXDGSurfaceResource(SP<CXdgSurface> resource_, SP<CXDGWMBas
|
|||
m_toplevel->m_self = RESOURCE;
|
||||
|
||||
LOGM(LOG, "xdg_surface {:x} gets a toplevel {:x}", (uintptr_t)m_owner.get(), (uintptr_t)RESOURCE.get());
|
||||
|
||||
PHLWINDOW createdWindow = g_pCompositor->m_windows.emplace_back(Desktop::View::CWindow::create(m_self.lock()));
|
||||
|
||||
g_pCompositor->m_windows.emplace_back(Desktop::View::CWindow::create(m_self.lock()));
|
||||
|
||||
if (RESOURCE->m_parent != nullptr)
|
||||
g_pCompositor->m_windows.back()->m_pinned = true;
|
||||
if (RESOURCE->m_parent)
|
||||
createdWindow->m_pinned = true;
|
||||
|
||||
for (auto const& p : m_popups) {
|
||||
if (!p)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue