diff options
Diffstat (limited to 'src/core/wee-hook.h')
-rw-r--r-- | src/core/wee-hook.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h index 65df6e7d0..ae0c880f6 100644 --- a/src/core/wee-hook.h +++ b/src/core/wee-hook.h @@ -28,7 +28,7 @@ struct t_gui_bar; struct t_gui_buffer; struct t_gui_line; struct t_gui_completion; -struct t_gui_cursor_info; +struct t_gui_focus_info; struct t_gui_window; struct t_weelist; struct t_hashtable; @@ -541,7 +541,9 @@ extern struct t_hook *hook_focus (struct t_weechat_plugin *plugin, const char *area, t_hook_callback_focus *callback, void *callback_data); -extern struct t_hashtable *hook_focus_get_data (struct t_gui_cursor_info *cursor_info); +extern struct t_hashtable *hook_focus_get_data (struct t_gui_focus_info *focus_info1, + struct t_gui_focus_info *focus_info2, + const char *key); extern void unhook (struct t_hook *hook); extern void unhook_all_plugin (struct t_weechat_plugin *plugin); extern void unhook_all (); |