diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-31 10:12:07 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-07 15:33:31 +0000 |
| commit | 2cc84db97978388475504592c88911046bcd2eb6 (patch) | |
| tree | 91efd350b53a6b296c0e78eb5781ef0e59cdddbf /wayland.h | |
| parent | config: free URL bindings (diff) | |
urls: initial support for detecting URLs and rendering jump-labels
The jump labels work, but is currently hardcoded to use xdg-open
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 7 |
1 files changed, 7 insertions, 0 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; |
