RediWM is a Wayland compositor written in Zig (OpenGL ES) that includes everything in one process
Fix overlapping torrent sidebar tooltips
Mel1caf3a06ffbc
diff --git a/src/files/app_torrent_rows.zig b/src/files/app_torrent_rows.zigindex 252f283..82c00c3 100644--- a/src/files/app_torrent_rows.zig+++ b/src/files/app_torrent_rows.zig@@ -133,6 +133,9 @@ pub fn inlineTorrentClick(self: *App, x: f64, y: f64) bool {return true;}pub fn renderTorrentTip(self: *App, cr: *c.cairo_t) void {+ const hover = self.hoverKey();+ if (hover == std.math.maxInt(usize) - 2001 or+ hover == std.math.maxInt(usize) - 2002) return;const hit = self.inlineTorrentHit(self.mouse_x, self.mouse_y) orelse return;if (hit.toggle) return;const t = self.torrentForItem(hit.index) orelse return;