From b6b8c8f7fcb5d7be66d90392d4aa27a6d88c0f5f Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 24 May 2012 01:24:59 -0400 Subject: [PATCH] Revert "add opacity support" This reverts commit 055c0c479770fb59346e836f936dff3de9f2f042. --- config.h | 4 ---- termite.c | 1 - 2 files changed, 5 deletions(-) diff --git a/config.h b/config.h index dafd6a8..3eeb0a7 100644 --- a/config.h +++ b/config.h @@ -2,7 +2,6 @@ #define CONFIG_H #include -#include #define URGENT_ON_BEEP #define DYNAMIC_TITLE @@ -13,9 +12,6 @@ static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*"; static const char *url_command = "/usr/bin/firefox"; #endif -// 0 -> completely transparent, 65535 -> completely opaque -static const uint16_t opacity = 65535; - static const char *font = "Monospace 9"; static const long scrollback_lines = 1000; diff --git a/termite.c b/termite.c index f3bec59..eeb1c85 100644 --- a/termite.c +++ b/termite.c @@ -128,7 +128,6 @@ int main(int argc, char **argv) { vte_terminal_set_audible_bell(VTE_TERMINAL(vte), audible_bell); vte_terminal_set_visible_bell(VTE_TERMINAL(vte), visible_bell); vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide); - vte_terminal_set_opacity(VTE_TERMINAL(vte), opacity); // set colors GdkColor foreground, background;