From 4b6c6f043d880c730c9ba056b3e8a7cfece25a50 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Fri, 9 Nov 2012 02:55:37 -0800 Subject: [PATCH] Allow for drawing into the overlay window with alpha. --- src/Fl_Double_Window.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 251de49..27103e2 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -393,6 +393,7 @@ void Fl_Double_Window::flush(int eraseoverlay) { /* cairo_rectangle( myi->cc, 0, 0, w(), h() ); */ /* cairo_fill( myi->cc ); */ cairo_paint( myi->cc ); + cairo_set_operator( myi->cc, CAIRO_OPERATOR_OVER ); #else int X,Y,W,H; fl_clip_box(0,0,w(),h(),X,Y,W,H); if (myi->other_xid) fl_copy_offscreen(X, Y, W, H, myi->other_xid, X, Y); -- 2.11.4.GIT