aboutsummaryrefslogtreecommitdiffstats
path: root/src/pgtkterm.h
diff options
context:
space:
mode:
authorYuuki Harano2019-06-26 00:30:33 +0900
committerJeff Walsh2020-11-22 14:46:55 +1100
commit164800da6f673afeba729befbfbfd0e6131eadb8 (patch)
tree5d54518af541ca162222056d879c1e190d0b27f9 /src/pgtkterm.h
parent330a346ca734d39c0233ef899e044d05e0e1ebe9 (diff)
downloademacs-164800da6f673afeba729befbfbfd0e6131eadb8.tar.gz
emacs-164800da6f673afeba729befbfbfd0e6131eadb8.zip
Add Preferred geometry settings
* ../src/pgtkterm.h (struct pgtk_output): * ../src/pgtkterm.c (pgtk_set_window_size): * ../src/gtkutil.c (x_wm_set_size_hint): * ../src/emacsgtkfixed.c (emacs_fixed_get_preferred_width) (emacs_fixed_get_preferred_height): Fixup toolbar handling toolbar, menubar の ON/OFF でサイズが変化していっていたのを修正。
Diffstat (limited to 'src/pgtkterm.h')
-rw-r--r--src/pgtkterm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pgtkterm.h b/src/pgtkterm.h
index 622b5ef76fe..6bb03697a50 100644
--- a/src/pgtkterm.h
+++ b/src/pgtkterm.h
@@ -297,6 +297,7 @@ struct pgtk_output
297 /* The last size hints set. */ 297 /* The last size hints set. */
298 GdkGeometry size_hints; 298 GdkGeometry size_hints;
299 long hint_flags; 299 long hint_flags;
300 int preferred_width, preferred_height;
300 301
301 /* The widget of this screen. This is the window of a top widget. */ 302 /* The widget of this screen. This is the window of a top widget. */
302 GtkWidget *widget; 303 GtkWidget *widget;