← easystroke

Fix black squares on gnome3

d14b2740bf3b0ec867d7a0abe4e1f64fb6687aba · Raphaël Rochet · Jan 17, 2014 18:34

+1 · 1 file changed

  • composite.cc +1 −0
diff --git a/composite.cc b/composite.cc
index ec70ad1..55bbcc8 100644
--- a/composite.cc
+++ b/composite.cc
@@ -27,6 +27,7 @@ Popup::Popup(int x1, int y1, int x2, int y2) : Gtk::Window(Gtk::WINDOW_POPUP), r
 
 	Glib::RefPtr<Gdk::Visual> visual = get_screen()->get_rgba_visual();
 	gtk_widget_set_visual(Widget::gobj(), visual->gobj());
+	gtk_widget_set_app_paintable (Widget::gobj(), TRUE);
 	signal_draw().connect(sigc::mem_fun(*this, &Popup::on_draw));
 	realize();
 	move(x1, y1);