diff options
| author | Jonas Ådahl <jadahl@gmail.com> | 2021-11-19 14:08:46 +0000 |
|---|---|---|
| committer | Jonas Ådahl <jadahl@gmail.com> | 2021-11-29 15:26:40 +0000 |
| commit | 38741baf9afc2697c7e508cb87c3b2983de9f0af (patch) | |
| tree | 18ff10e6abcc20a14dcde8dcf2a1ab736a3b95ca /render.h | |
| parent | input: Update mouse x/y coordinates on wl_pointer_enter (diff) | |
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.
Diffstat (limited to 'render.h')
| -rw-r--r-- | render.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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); |
