render: csd: split up positioning from rendering

This commit is contained in:
Daniel Eklöf 2020-02-29 18:02:38 +01:00
parent 9264e1e5bd
commit 92d638eb1c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 148 additions and 87 deletions

View file

@ -91,6 +91,15 @@ struct wl_primary {
extern const int csd_border_size;
extern const int csd_title_size;
enum csd_surface {
CSD_SURF_TITLE,
CSD_SURF_LEFT,
CSD_SURF_RIGHT,
CSD_SURF_TOP,
CSD_SURF_BOTTOM,
CSD_SURF_COUNT,
};
struct wayland;
struct wl_window {
struct terminal *term;