inner-border: 1; adds additional spacing, preventing getting 2x 80x25 terminals side-by-side on 1280 pixels
Submitted by Paul Sladen
Link to original bug (#664683)
Description
Forwarded from: https://bugs.launchpad.net/ubuntu/+source/vte/+bug/893174
It would appear that the fix for bug #640460
("shrinking terminal on tab switch") made terminals 2 pixels wider each. This appears to be the result of the following commit initialising "-VteTerminal-inner-border: 1;".
git show 31b4047a | grep -B6 -A3 '^+.*inner-border' +#if GTK_CHECK_VERSION (2, 99, 0)
- klass->priv = G_TYPE_CLASS_GET_PRIVATE (klass, VTE_TYPE_TERMINAL, VteTerminalClassPrivate);
- klass->priv->style_provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ());
- gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (klass->priv->style_provider),
- "VteTerminal {\n"
-
"-VteTerminal-inner-border: 1;\n"
- "}\n",
- -1, NULL); +#endif /* GTK 3.0 */
commit 31b4047a Author: Christian Persch chpe@gnome.org Date: Wed Feb 2 18:45:41 2011 +0100
Add default style provider
This fixes the default value for the 'inner-border' property not
to be NULL.
Bug `#640460`.
Resolution: RESOLVED NOTABUG