set title callback needs to use surface userdata

This commit is contained in:
Mitchell Hashimoto
2023-02-18 17:22:14 -08:00
parent c709467bee
commit 7b0ddc8b70
4 changed files with 13 additions and 7 deletions

View File

@@ -35,6 +35,7 @@ typedef struct {
} ghostty_runtime_config_s;
typedef struct {
void *userdata;
void *nsview;
double scale_factor;
} ghostty_surface_config_s;