mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 07:55:10 +02:00
Use a single function for cocoa pending actions
Also fix a couple of memory leaks when using coca pending actions with a wd
This commit is contained in:
@@ -215,8 +215,7 @@ typedef enum {
|
||||
NEW_OS_WINDOW_WITH_WD = 4,
|
||||
NEW_TAB_WITH_WD = 8
|
||||
} CocoaPendingAction;
|
||||
void set_cocoa_pending_action(CocoaPendingAction action);
|
||||
void set_cocoa_pending_action_with_wd(CocoaPendingAction action, const char *wd);
|
||||
void set_cocoa_pending_action(CocoaPendingAction action, const char*);
|
||||
bool application_quit_requested();
|
||||
void request_application_quit();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user