Skip to content

Commit 59b07ba

Browse files
author
Yuuki Harano
committed
hook をセット。
1 parent 0042882 commit 59b07ba

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/pgtkterm.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4688,6 +4688,10 @@ pgtk_create_terminal (struct pgtk_display_info *dpyinfo)
46884688
terminal->set_scroll_bar_default_width_hook = pgtk_set_scroll_bar_default_width;
46894689
terminal->set_scroll_bar_default_height_hook = pgtk_set_scroll_bar_default_height;
46904690
terminal->set_window_size_hook = pgtk_set_window_size;
4691+
// terminal->query_colors = pgtk_query_colors;
4692+
terminal->get_focus_frame = x_get_focus_frame;
4693+
// terminal->focus_frame_hook = x_focus_frame;
4694+
// terminal->set_frame_offset_hook = x_set_offset;
46914695

46924696
/* Other hooks are NULL by default. */
46934697

src/pgtkterm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,5 +589,7 @@ extern void pgtk_iconify_frame (struct frame *f);
589589
extern void x_focus_frame (struct frame *f, bool noactivate);
590590
extern void pgtk_set_scroll_bar_default_width (struct frame *f);
591591
extern void pgtk_set_scroll_bar_default_height (struct frame *f);
592+
extern Lisp_Object x_get_focus_frame (struct frame *frame);
593+
592594

593595
#endif /* HAVE_PGTK */

0 commit comments

Comments
 (0)