Skip to content

Commit

Permalink
Fix black squares on gnome3
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRochet authored and thjaeger committed Feb 16, 2014
1 parent 040ba64 commit d14b274
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d14b274

Please sign in to comment.