projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73e4335
)
Make native input work on GTK 2
author
Po Lu
<luangruo@yahoo.com>
Tue, 11 Jan 2022 10:13:04 +0000
(18:13 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 11 Jan 2022 10:13:04 +0000
(18:13 +0800)
* src/gtkutil.c (xg_create_frame_widgets): Allow focusing fixed
widget.
src/gtkutil.c
patch
|
blob
|
history
diff --git
a/src/gtkutil.c
b/src/gtkutil.c
index 3550a56e29934ddb498990bb8e1b887c58a3b0de..1db166b1bad38cad3bae02710f436b0fdb27514e 100644
(file)
--- a/
src/gtkutil.c
+++ b/
src/gtkutil.c
@@
-1608,6
+1608,7
@@
xg_create_frame_widgets (struct frame *f)
/* Must use g_strdup because gtk_widget_modify_style does g_free. */
style->bg_pixmap_name[GTK_STATE_NORMAL] = g_strdup ("<none>");
gtk_widget_modify_style (wfixed, style);
+ gtk_widget_set_can_focus (wfixed, TRUE);
#else
gtk_widget_set_can_focus (wfixed, TRUE);
#ifdef HAVE_PGTK