[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/pgtk 992ef48 041/100: update redisplay_interface.
From: |
Yuuki Harano |
Subject: |
feature/pgtk 992ef48 041/100: update redisplay_interface. |
Date: |
Tue, 24 Nov 2020 08:02:33 -0500 (EST) |
branch: feature/pgtk
commit 992ef483006aad6c85138e901768fa9e1ef59784
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Jeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
update redisplay_interface.
* src/pgtkfns.c (Fx_create_frame, pgtk_default_font_parameter):
* src/pgtkterm.c (pgtk_redisplay_interface):
* src/pgtkterm.h:
---
src/pgtkfns.c | 6 +++---
src/pgtkterm.c | 3 ++-
src/pgtkterm.h | 2 ++
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/pgtkfns.c b/src/pgtkfns.c
index 2525547..2c8f73e 100644
--- a/src/pgtkfns.c
+++ b/src/pgtkfns.c
@@ -991,8 +991,8 @@ x_decode_color (struct frame *f, Lisp_Object color_name,
int mono_color)
signal_error ("Undefined color", color_name);
}
-static void
-x_default_font_parameter (struct frame *f, Lisp_Object parms)
+void
+pgtk_default_font_parameter (struct frame *f, Lisp_Object parms)
{
struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f);
Lisp_Object font_param = gui_display_get_arg (dpyinfo, parms, Qfont, NULL,
NULL,
@@ -1262,7 +1262,7 @@ This function is an internal primitive--use `make-frame'
instead. */)
/* Extract the window parameters from the supplied values
that are needed to determine window geometry. */
- x_default_font_parameter (f, parms);
+ pgtk_default_font_parameter (f, parms);
if (!FRAME_FONT (f))
{
delete_frame (frame, Qnoelisp);
diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index 92ad1bc..fbfc295 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -3328,7 +3328,8 @@ static struct redisplay_interface
pgtk_redisplay_interface =
pgtk_draw_window_divider,
NULL, // pgtk_shift_glyphs_for_insert,
pgtk_show_hourglass,
- pgtk_hide_hourglass
+ pgtk_hide_hourglass,
+ pgtk_default_font_parameter,
};
static void
diff --git a/src/pgtkterm.h b/src/pgtkterm.h
index d441e16..7bc0f0d 100644
--- a/src/pgtkterm.h
+++ b/src/pgtkterm.h
@@ -615,6 +615,8 @@ extern void x_change_tab_bar_height (struct frame *, int);
extern struct pgtk_display_info *check_pgtk_display_info (Lisp_Object object);
+extern void pgtk_default_font_parameter (struct frame *f, Lisp_Object parms);
+
extern void pgtk_enqueue_string(struct frame *f, gchar *str);
extern void pgtk_enqueue_preedit(struct frame *f, Lisp_Object image_data);
extern void pgtk_im_focus_in(struct frame *f);
- feature/pgtk ef67659 045/100: Set screen/display dpi res to make broadway work as expected, (continued)
- feature/pgtk ef67659 045/100: Set screen/display dpi res to make broadway work as expected, Yuuki Harano, 2020/11/24
- feature/pgtk d109dab 059/100: * src/pgtkfns.c: change coding style, Yuuki Harano, 2020/11/24
- feature/pgtk 9eb35f9 033/100: experimental support of tab-bar., Yuuki Harano, 2020/11/24
- feature/pgtk 25cf592 067/100: Change coding style, Yuuki Harano, 2020/11/24
- feature/pgtk e7190d8 075/100: Fix non-English layout does not work, Yuuki Harano, 2020/11/24
- feature/pgtk 28073ba 083/100: Re-implement childframe with emacsgtkfixed, Yuuki Harano, 2020/11/24
- feature/pgtk 6c43496 074/100: Fix font lock is not applied on continued lines, Yuuki Harano, 2020/11/24
- feature/pgtk 9704e23 081/100: Enable GtkIMContext by default, Yuuki Harano, 2020/11/24
- feature/pgtk b60d4c9 086/100: Fix crash on creating child frames., Yuuki Harano, 2020/11/24
- feature/pgtk b1b7440 098/100: Work around gtk_im_context_filter_keypress() issue with super key, Yuuki Harano, 2020/11/24
- feature/pgtk 992ef48 041/100: update redisplay_interface.,
Yuuki Harano <=
- feature/pgtk 232c129 035/100: implement pre-edit input method, Yuuki Harano, 2020/11/24
- feature/pgtk 984f9cc 050/100: restore frame_rehighlight_hook., Yuuki Harano, 2020/11/24
- feature/pgtk 51462ce 078/100: Add PGTK to system-configuration-features, Yuuki Harano, 2020/11/24
- feature/pgtk 7c8da33 084/100: Exclude Xlib's modifier keys, Yuuki Harano, 2020/11/24
- feature/pgtk 2d5ffa5 076/100: Make pointer visible when motion notify event, Yuuki Harano, 2020/11/24
- feature/pgtk 2dd20b2 079/100: Self-implement tooltip, Yuuki Harano, 2020/11/24
- feature/pgtk e75ce03 082/100: Add support for x-support-frames, Yuuki Harano, 2020/11/24
- feature/pgtk 6df8556 080/100: Remove duplicated syms_of_xwidget call, Yuuki Harano, 2020/11/24
- feature/pgtk 948e2fa 094/100: Avoid weird behavior when resizing with top-left corner, Yuuki Harano, 2020/11/24
- feature/pgtk 4dbea5b 090/100: Fix Gtk warnings, Yuuki Harano, 2020/11/24