repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: f97b3ec22ab1da4da65d37cb858d97d9f5d98932: path_to: revision_to:
commit f97b3ec22ab1da4da65d37cb858d97d9f5d98932 Author: Emanuele GiaquintaDate: Sun May 13 15:28:44 2012 +0000 Simplify. diff --git a/src/background.C b/src/background.C
--- a/src/background.C
+++ b/src/background.C
@@ -664,18 +664,6 @@ rxvt_term::bg_set_file (const char *file)
# endif /* BG_IMAGE_FROM_FILE */
# ifdef ENABLE_TRANSPARENCY
-bool
-rxvt_term::bg_set_transparent ()
-{
- if (!(bg_flags & BG_IS_TRANSPARENT))
- {
- bg_flags |= BG_IS_TRANSPARENT;
- return true;
- }
-
- return false;
-}
-
bool
rxvt_term::bg_set_blur (const char *geom)
{
diff --git a/src/rxvt.h b/src/rxvt.h
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -1142,7 +1142,10 @@ struct rxvt_term : zero_initialized, rxvt_vars, rxvt_screen
int shade;
int h_blurRadius, v_blurRadius;
- bool bg_set_transparent ();
+ void bg_set_transparent ()
+ {
+ bg_flags |= BG_IS_TRANSPARENT;
+ }
void bg_set_root_pixmap ();
void set_tint_shade_flags ();
bool bg_set_tint (rxvt_color &new_tint);
-----END OF PAGE-----