Skip to content

Commit

Permalink
menus: don't stick to parent window
Browse files Browse the repository at this point in the history
Menus should now appear above any floating subwindows.
  • Loading branch information
david-vanderson committed Nov 25, 2024
1 parent 1b2061c commit 5d8782a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/FloatingMenuWidget.zig
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn install(self: *FloatingMenuWidget) !void {

const rs = self.wd.rectScale();

try dvui.subwindowAdd(self.wd.id, self.wd.rect, rs.r, false, self.prev_windowId);
try dvui.subwindowAdd(self.wd.id, self.wd.rect, rs.r, false, null);
dvui.captureMouseMaintain(self.wd.id);
try self.wd.register();

Expand Down

0 comments on commit 5d8782a

Please sign in to comment.