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

@ -87,16 +87,6 @@ pub fn close(self: Self) void {
self.xwayland_surface.close();
}
/// Iterate over all surfaces of the xwayland view.
pub fn forEachSurface(
self: Self,
comptime T: type,
iterator: fn (surface: *wlr.Surface, sx: c_int, sy: c_int, data: T) callconv(.C) void,
data: T,
) void {
self.xwayland_surface.surface.?.forEachSurface(T, iterator, data);
}
/// Return the surface at output coordinates ox, oy and set sx, sy to the
/// corresponding surface-relative coordinates, if there is a surface.
pub fn surfaceAt(self: Self, ox: f64, oy: f64, sx: *f64, sy: *f64) ?*wlr.Surface {