mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-24 05:22:04 -08:00
Fix display of internal border in child frames on pgtk
* src/pgtkfns.c (Fx_create_frame): Fix child frame border resource names. * src/pgtkterm.c (pgtk_clear_under_internal_border): Fix test for child frames. (bug#53018)
This commit is contained in:
parent
6719a3ccab
commit
a7dbbcac57
2 changed files with 8 additions and 9 deletions
|
|
@ -4957,7 +4957,8 @@ void
|
|||
pgtk_clear_under_internal_border (struct frame *f)
|
||||
{
|
||||
if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0
|
||||
&& gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f)))
|
||||
&& (!FRAME_GTK_OUTER_WIDGET (f)
|
||||
|| gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f))))
|
||||
{
|
||||
int border = FRAME_INTERNAL_BORDER_WIDTH (f);
|
||||
int width = FRAME_PIXEL_WIDTH (f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue