summaryrefslogtreecommitdiff
path: root/FL/x.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/x.H')
-rw-r--r--FL/x.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/x.H b/FL/x.H
index f1f23f918..336acff9e 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -84,6 +84,7 @@ extern FL_EXPORT ulong fl_event_time;
// off-screen pixmaps: create, destroy, draw into, copy to window:
typedef ulong Fl_Offscreen;
# define fl_create_offscreen(w,h) XCreatePixmap(fl_display, RootWindow(fl_display, fl_screen), w, h, fl_visual->depth)
+# define fl_create_offscreen_with_alpha(w,h) XCreatePixmap(fl_display, RootWindow(fl_display, fl_screen), w, h, 32)
// begin/end are macros that save the old state in local variables:
# define fl_begin_offscreen(pixmap) \
Window _sw=fl_window; fl_window=pixmap; \