mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-25 01:40:19 -05:00
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:
parent
c0ce131f1a
commit
38741baf9a
3 changed files with 20 additions and 8 deletions
9
render.c
9
render.c
|
|
@ -1521,14 +1521,7 @@ render_worker_thread(void *_ctx)
|
|||
return -1;
|
||||
}
|
||||
|
||||
struct csd_data {
|
||||
int x;
|
||||
int y;
|
||||
int width;
|
||||
int height;
|
||||
};
|
||||
|
||||
static struct csd_data
|
||||
struct csd_data
|
||||
get_csd_data(const struct terminal *term, enum csd_surface surf_idx)
|
||||
{
|
||||
xassert(term->window->csd_mode == CSD_YES);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue