Created
June 5, 2021 16:35
-
-
Save inclement/3fab077b5df19152cf02ca538cf12795 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/river/XdgPopup.zig b/river/XdgPopup.zig | |
index 0f5b97d..381897a 100644 | |
--- a/river/XdgPopup.zig | |
+++ b/river/XdgPopup.zig | |
@@ -91,6 +91,11 @@ fn handleDestroy(listener: *wl.Listener(*wlr.XdgSurface), wlr_xdg_surface: *wlr. | |
fn handleMap(listener: *wl.Listener(*wlr.XdgSurface), xdg_surface: *wlr.XdgSurface) void { | |
const self = @fieldParentPtr(Self, "map", listener); | |
+ var iterator = self.wlr_xdg_popup.base.surface.subsurfaces.iterator(.forward); | |
+ while (iterator.next()) |subsurface| { | |
+ handleNewSubsurface(&self.new_subsurface, subsurface); | |
+ } | |
+ | |
self.wlr_xdg_popup.base.surface.events.commit.add(&self.commit); | |
self.parent.damageWholeOutput(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment