apprt/glfw: handle setting initial window position when window is

created
This commit is contained in:
Adam Wolf
2024-12-30 07:39:56 -06:00
committed by Mitchell Hashimoto
parent 13d935a401
commit 970e45559b
5 changed files with 15 additions and 46 deletions

View File

@@ -514,12 +514,6 @@ typedef struct {
uint32_t height;
} ghostty_action_initial_size_s;
// apprt.action.InitialPosition
typedef struct {
int32_t x;
int32_t y;
} ghostty_action_initial_position_s;
// apprt.action.CellSize
typedef struct {
uint32_t width;
@@ -583,7 +577,6 @@ typedef enum {
GHOSTTY_ACTION_PRESENT_TERMINAL,
GHOSTTY_ACTION_SIZE_LIMIT,
GHOSTTY_ACTION_INITIAL_SIZE,
GHOSTTY_ACTION_INITIAL_POSITION,
GHOSTTY_ACTION_CELL_SIZE,
GHOSTTY_ACTION_INSPECTOR,
GHOSTTY_ACTION_RENDER_INSPECTOR,
@@ -612,7 +605,6 @@ typedef union {
ghostty_action_resize_split_s resize_split;
ghostty_action_size_limit_s size_limit;
ghostty_action_initial_size_s initial_size;
ghostty_action_initial_position_s initial_position;
ghostty_action_cell_size_s cell_size;
ghostty_action_inspector_e inspector;
ghostty_action_desktop_notification_s desktop_notification;