diff options
author | TingPing <tingping@tingping.se> | 2013-09-26 23:24:27 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-09-27 17:40:05 -0400 |
commit | 449553ffb0e42656221c3a322d10c14cf86abb6c (patch) | |
tree | c6da95e57035cee71d94f4ee5dffca30328580b7 /src/fe-gtk/rawlog.c | |
parent | f23bda9e469fad7b6d83d9f30dd22a073cab5102 (diff) |
Replace xtext's transparency with full window transparency
Xtext's transparency barely worked on windows, didn't work on any modern linux wm and used fake transparency. This uses gtk's built in window opacity that works on more systems and is real transparency. Text area only transparency may return with a transition to cairo, if it works on Windows.
Diffstat (limited to 'src/fe-gtk/rawlog.c')
-rw-r--r-- | src/fe-gtk/rawlog.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fe-gtk/rawlog.c b/src/fe-gtk/rawlog.c index 7dfb38ba..fea53e84 100644 --- a/src/fe-gtk/rawlog.c +++ b/src/fe-gtk/rawlog.c @@ -121,9 +121,6 @@ open_rawlog (struct server *serv) gtk_widget_show (hbox); serv->gui->rawlog_textlist = gtk_xtext_new (colors, 0); - gtk_xtext_set_tint (GTK_XTEXT (serv->gui->rawlog_textlist), prefs.hex_text_tint_red, prefs.hex_text_tint_green, prefs.hex_text_tint_blue); - gtk_xtext_set_background (GTK_XTEXT (serv->gui->rawlog_textlist), - channelwin_pix, prefs.hex_text_transparent); gtk_container_add (GTK_CONTAINER (hbox), serv->gui->rawlog_textlist); gtk_xtext_set_font (GTK_XTEXT (serv->gui->rawlog_textlist), prefs.hex_text_font); |