From c2a3c74e7053eebe2c7ed8177dbdfb9aad6d1e43 Mon Sep 17 00:00:00 2001 From: daa Date: Mon, 7 May 2018 22:13:28 +0300 Subject: [PATCH] Fix #96 --- src/shell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell.rs b/src/shell.rs index 7101d95..6dad3a7 100644 --- a/src/shell.rs +++ b/src/shell.rs @@ -72,7 +72,7 @@ impl Surface { let surface = drawing_area .get_window() .unwrap() - .create_similar_surface(cairo::Content::Color, alloc.width, alloc.height) + .create_similar_surface(cairo::Content::ColorAlpha, alloc.width, alloc.height) .unwrap(); let ctx = cairo::Context::new(&surface);