From 38741baf9afc2697c7e508cb87c3b2983de9f0af Mon Sep 17 00:00:00 2001 From: Jonas Ã…dahl Date: Fri, 19 Nov 2021 15:08:46 +0100 Subject: input: Add support for xdg_toplevl.show_window_menu() This makes, if the compositor supports it, the window menu appear when right clicking on the title bar. --- render.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'render.h') diff --git a/render.h b/render.h index 1179a5dc..145aaba8 100644 --- a/render.h +++ b/render.h @@ -24,3 +24,12 @@ struct render_worker_context { struct terminal *term; }; int render_worker_thread(void *_ctx); + +struct csd_data { + int x; + int y; + int width; + int height; +}; + +struct csd_data get_csd_data(const struct terminal *term, enum csd_surface surf_idx); -- cgit v1.3