render: draw popups over borders

This commit is contained in:
Isaac Freund
2021-01-05 20:05:35 +01:00
parent 9d76709713
commit b73cb7bb69
5 changed files with 19 additions and 26 deletions

View File

@ -103,13 +103,13 @@ pub fn close(self: Self) void {
self.xdg_surface.role_data.toplevel.sendClose();
}
pub inline fn forEachSurface(
pub inline fn forEachPopup(
self: Self,
comptime T: type,
iterator: fn (surface: *wlr.Surface, sx: c_int, sy: c_int, data: T) callconv(.C) void,
user_data: T,
) void {
self.xdg_surface.forEachSurface(T, iterator, user_data);
self.xdg_surface.forEachPopup(T, iterator, user_data);
}
/// Return the surface at output coordinates ox, oy and set sx, sy to the