diff --git a/src/apprt/glfw.zig b/src/apprt/glfw.zig index 911eb6f5e..81063bc69 100644 --- a/src/apprt/glfw.zig +++ b/src/apprt/glfw.zig @@ -649,6 +649,12 @@ pub const Surface = struct { self.cursor = new; } + pub fn mouseOverLink(self: *Surface, uri: ?[]const u8) void { + // We don't do anything in GLFW. + _ = self; + _ = uri; + } + /// Set the visibility of the mouse cursor. pub fn setMouseVisibility(self: *Surface, visible: bool) void { self.window.setInputModeCursor(if (visible) .normal else .hidden); diff --git a/src/apprt/gtk/Surface.zig b/src/apprt/gtk/Surface.zig index 1ee433db9..096441229 100644 --- a/src/apprt/gtk/Surface.zig +++ b/src/apprt/gtk/Surface.zig @@ -879,6 +879,12 @@ pub fn setMouseVisibility(self: *Surface, visible: bool) void { c.gtk_widget_set_cursor(@ptrCast(self.gl_area), self.app.cursor_none); } +pub fn mouseOverLink(self: *Surface, uri: ?[]const u8) void { + // TODO: GTK + _ = self; + _ = uri; +} + pub fn clipboardRequest( self: *Surface, clipboard_type: apprt.Clipboard,