summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2024-10-06 09:54:07 -1000
committerMitchell Hashimoto <m@mitchellh.com>2024-10-06 09:58:46 -1000
commit8dc4ebb4f7dbc297c2a79c414a38ff4fc1752c3a (patch)
tree8bedb4ee6c848592148b1ccade9ccd41435bdf1d /include
parentbac1780c3c7dbafb4f7748638e7fdfaa0fc860d9 (diff)
apprt/embedded: add ghostty_app_set_focus
Diffstat (limited to 'include')
-rw-r--r--include/ghostty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ghostty.h b/include/ghostty.h
index b0e5c3fd6..354da33d0 100644
--- a/include/ghostty.h
+++ b/include/ghostty.h
@@ -615,6 +615,7 @@ ghostty_app_t ghostty_app_new(const ghostty_runtime_config_s*,
void ghostty_app_free(ghostty_app_t);
bool ghostty_app_tick(ghostty_app_t);
void* ghostty_app_userdata(ghostty_app_t);
+void ghostty_app_set_focus(ghostty_app_t, bool);
bool ghostty_app_key(ghostty_app_t, ghostty_input_key_s);
void ghostty_app_keyboard_changed(ghostty_app_t);
void ghostty_app_open_config(ghostty_app_t);