Skip to content


Revert "fix setting transparency issue when used in GNOME3"
Browse files Browse the repository at this point in the history
This reverts commit e1b834a.

Fixes #240
  • Loading branch information
monsta authored and raveit65 committed Jun 17, 2018
1 parent 54558c5 commit c4cedf7
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/terminal-screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1138,25 +1138,6 @@ update_color_scheme (TerminalScreen *screen)
if (bold_rgba)
vte_terminal_set_color_bold (VTE_TERMINAL (screen),

/* In case of being used in GNOME3 desktop environment.
* code references to gnome-terminal
/* toplevel widget */
GtkWidget *toplevel;
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (screen));
if (toplevel != NULL && gtk_widget_is_toplevel (toplevel)
&& !gtk_widget_get_app_paintable (toplevel))
gtk_widget_set_app_paintable (toplevel, TRUE);
/* The opaque region of the toplevel isn't updated until the toplevel is allocated;
* set_app_paintable() doesn't force an allocation, so do that manually.
gtk_widget_queue_resize (toplevel);

Expand Down

0 comments on commit c4cedf7

Please sign in to comment.