Bring back support for forcing fake transparency. Closes LP#702917

This commit is contained in:
Chris Jones 2013-01-30 09:59:52 +00:00
parent fbbd941a7e
commit bf72c3e4f2
3 changed files with 6 additions and 1 deletions

View File

@ -86,6 +86,10 @@ Default value: \fBFalse\fR
Path to a program which accepts a URI as an argument and does something relevant with it. This option is ignored unless 'use_custom_url_handler' is set to True.
Default value: unset
.TP
.B disable_real_transparency \fR(string)
If this is set to True, Terminator will never try to use 'real' transparency if your windowing environment supports it. Instead it will use 'fake' transparency where a background image is shown, but other windows are not.
Default value: False
.TP
.B title_transmit_fg_color
Sets the colour of the text shown in the titlebar of the active terminal.
Default value: \fB'#FFFFFF'\fR

View File

@ -93,6 +93,7 @@ DEFAULTS = {
'try_posix_regexp' : platform.system() != 'Linux',
'use_custom_url_handler': False,
'custom_url_handler' : '',
'disable_real_transparency' : False,
'title_hide_sizetext' : False,
'title_transmit_fg_color' : '#ffffff',
'title_transmit_bg_color' : '#c80003',

View File

@ -680,7 +680,7 @@ class Terminal(gtk.VBox):
# This is quite hairy, but the basic explanation is that we should
# set_background_transparent(True) when we have no compositing and want
# fake background transparency, otherwise it should be False.
if not self.composite_support:
if not self.composite_support or self.config['disable_real_transparency']:
# We have no compositing support, fake background only
background_transparent = True
else: