gtk: mouse input

This commit is contained in:
Mitchell Hashimoto
2023-02-23 17:08:09 -08:00
parent 3ab51f5643
commit adae05cf04
3 changed files with 83 additions and 1 deletions

View File

@@ -51,7 +51,8 @@ typedef enum {
} ghostty_input_mouse_state_e;
typedef enum {
GHOSTTY_MOUSE_LEFT = 1,
GHOSTTY_MOUSE_UNKNOWN,
GHOSTTY_MOUSE_LEFT,
GHOSTTY_MOUSE_RIGHT,
GHOSTTY_MOUSE_MIDDLE,
} ghostty_input_mouse_button_e;