diff options
author | Christian Persch <chpe@gnome.org> | 2016-01-17 21:10:05 +0100 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2016-01-17 21:10:05 +0100 |
commit | 07846d9f430b6007554c4b74b4daa7ad94a98555 (patch) | |
tree | 321fd1c728a2e9d22b94cbab9f2b8edcb747a2eb | |
parent | 4822e237e1072e1f44825f578a8b8711dfc34e91 (diff) | |
download | vte-0.43.1.tar.gz |
widget: Add debug output when setting geometry hints0.43.1
-rw-r--r-- | src/vtegtk.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vtegtk.cc b/src/vtegtk.cc index fd8214e9..465407d6 100644 --- a/src/vtegtk.cc +++ b/src/vtegtk.cc @@ -3163,6 +3163,17 @@ vte_terminal_get_geometry_hints(VteTerminal *terminal, hints->height_inc = impl->char_height; hints->min_width = hints->base_width + hints->width_inc * min_columns; hints->min_height = hints->base_height + hints->height_inc * min_rows; + + _vte_debug_print(VTE_DEBUG_WIDGET_SIZE, + "[Terminal %p] Geometry char width %ld height %ld\n" + " base width %d height %d\n" + " increments width %d height %d\n" + " minimum width %d height %d\n", + terminal, + impl->char_width, impl->char_height, + hints->base_width, hints->base_height, + hints->width_inc, hints->height_inc, + hints->min_width, hints->min_height); } /** |