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.
This commit is contained in:
Jonas Ådahl 2021-11-19 15:08:46 +01:00
parent c0ce131f1a
commit 38741baf9a
3 changed files with 20 additions and 8 deletions

View file

@ -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);