diff options
author | Vaxry <[email protected]> | 2024-08-01 15:43:13 +0200 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-08-01 15:43:19 +0200 |
commit | ab0a3268e04f2295ec4455be90ce8d0c2b107b8d (patch) | |
tree | 7380c8225c111ac9c2fc31fb0f959b7bb2ba0c51 | |
parent | c8873b958dd9330c364339ac4ab58e32b27d82b4 (diff) | |
download | Hyprland-ab0a3268e04f2295ec4455be90ce8d0c2b107b8d.tar.gz Hyprland-ab0a3268e04f2295ec4455be90ce8d0c2b107b8d.zip |
xdg-shell: fixup unassigned wl surfaces to xdg surfaces
fixes #7133
-rw-r--r-- | src/protocols/XDGShell.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/protocols/XDGShell.cpp b/src/protocols/XDGShell.cpp index 71873374..5e82b530 100644 --- a/src/protocols/XDGShell.cpp +++ b/src/protocols/XDGShell.cpp @@ -666,8 +666,9 @@ CXDGWMBase::CXDGWMBase(SP<CXdgWmBase> resource_) : resource(resource_) { return; } - RESOURCE->self = RESOURCE; - SURF->role = RESOURCE; + RESOURCE->self = RESOURCE; + RESOURCE->surface = SURF; + SURF->role = RESOURCE; surfaces.emplace_back(RESOURCE); |