From d14b2740bf3b0ec867d7a0abe4e1f64fb6687aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Rochet?= Date: Fri, 17 Jan 2014 18:34:12 +0100 Subject: [PATCH] Fix black squares on gnome3 --- composite.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/composite.cc b/composite.cc index ec70ad10..55bbcc88 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 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);