mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: make CSD border and title size globally accessible
This commit is contained in:
parent
3f601a31dc
commit
d15eb936ef
2 changed files with 6 additions and 0 deletions
3
render.c
3
render.c
|
|
@ -24,6 +24,9 @@
|
|||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||
#define max(x, y) ((x) > (y) ? (x) : (y))
|
||||
|
||||
const int csd_border_size = 5;
|
||||
const int csd_title_size = 20;
|
||||
|
||||
struct renderer {
|
||||
struct fdm *fdm;
|
||||
struct wayland *wayl;
|
||||
|
|
|
|||
|
|
@ -82,6 +82,9 @@ struct wl_primary {
|
|||
uint32_t serial;
|
||||
};
|
||||
|
||||
extern const int csd_border_size;
|
||||
extern const int csd_title_size;
|
||||
|
||||
struct wayland;
|
||||
struct wl_window {
|
||||
struct terminal *term;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue