mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-01 18:55:02 +03:00
parent
ebf258788e
commit
a60c7283e6
@ -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 New Issue
Block a user