mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-18 06:46:23 -04:00
urls: initial support for detecting URLs and rendering jump-labels
The jump labels work, but is currently hardcoded to use xdg-open
This commit is contained in:
parent
b255aea3ed
commit
2cc84db979
12 changed files with 503 additions and 28 deletions
|
|
@ -362,6 +362,12 @@ struct monitor {
|
|||
bool use_output_release;
|
||||
};
|
||||
|
||||
struct wl_url {
|
||||
const struct url *url;
|
||||
struct wl_surface *surf;
|
||||
struct wl_subsurface *sub_surf;
|
||||
};
|
||||
|
||||
struct wayland;
|
||||
struct wl_window {
|
||||
struct terminal *term;
|
||||
|
|
@ -393,6 +399,7 @@ struct wl_window {
|
|||
struct wl_callback *frame_callback;
|
||||
|
||||
tll(const struct monitor *) on_outputs; /* Outputs we're mapped on */
|
||||
tll(struct wl_url) urls;
|
||||
|
||||
bool is_configured;
|
||||
bool is_fullscreen;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue