mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:25:58 +01:00
parent
ebf258788e
commit
a60c7283e6
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ void CXWM::readProp(SP<CXWaylandSurface> XSURF, uint32_t atom, xcb_get_property_
|
|||
const auto XID = (xcb_window_t*)xcb_get_property_value(reply);
|
||||
XSURF->transient = XID;
|
||||
if (XID) {
|
||||
if (const auto NEWXSURF = windowForXID(*XID); !lookupParentExists(XSURF, NEWXSURF)) {
|
||||
if (const auto NEWXSURF = windowForXID(*XID); NEWXSURF && !lookupParentExists(XSURF, NEWXSURF)) {
|
||||
XSURF->parent = NEWXSURF;
|
||||
NEWXSURF->children.push_back(XSURF);
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue