Revert "add opacity support"

This reverts commit 055c0c4797.
This commit is contained in:
Daniel Micay 2012-05-24 01:24:59 -04:00
parent 055c0c4797
commit b6b8c8f7fc
2 changed files with 0 additions and 5 deletions

View File

@ -2,7 +2,6 @@
#define CONFIG_H #define CONFIG_H
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h>
#define URGENT_ON_BEEP #define URGENT_ON_BEEP
#define DYNAMIC_TITLE #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"; static const char *url_command = "/usr/bin/firefox";
#endif #endif
// 0 -> completely transparent, 65535 -> completely opaque
static const uint16_t opacity = 65535;
static const char *font = "Monospace 9"; static const char *font = "Monospace 9";
static const long scrollback_lines = 1000; static const long scrollback_lines = 1000;

View File

@ -128,7 +128,6 @@ int main(int argc, char **argv) {
vte_terminal_set_audible_bell(VTE_TERMINAL(vte), audible_bell); vte_terminal_set_audible_bell(VTE_TERMINAL(vte), audible_bell);
vte_terminal_set_visible_bell(VTE_TERMINAL(vte), visible_bell); vte_terminal_set_visible_bell(VTE_TERMINAL(vte), visible_bell);
vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide); vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide);
vte_terminal_set_opacity(VTE_TERMINAL(vte), opacity);
// set colors // set colors
GdkColor foreground, background; GdkColor foreground, background;