X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;ds=inline;f=src%2Fx11.h;fp=src%2Fx11.h;h=4e8e9824172538c278b64cbfad7384596a82b426;hb=62f1e47f4a7d3aa896d8a1fd5335accd371ef863;hp=0ceaabb3c8978f829d89ca28f85073b650be39df;hpb=bc59f90c3c8e679036400d0e7ea6f531ecb8d446;p=monky diff --git a/src/x11.h b/src/x11.h index 0ceaabb..4e8e982 100644 --- a/src/x11.h +++ b/src/x11.h @@ -80,6 +80,8 @@ extern int use_xft; extern int use_argb_visual; /* 1 if use_argb_visual=1 and argb visual was found, otherwise 0 */ extern int have_argb_visual; +/* range of 0-255 for alpha */ +extern int own_window_argb_value; #endif extern Display *display; @@ -97,7 +99,7 @@ void init_window(int use_own_window, int width, int height, int set_trans, int back_colour, char **argv, int argc); void destroy_window(void); void create_gc(void); -void set_transparent_background(Window win); +void set_transparent_background(Window win, int alpha); void get_x11_desktop_info(Display *display, Atom atom); void set_struts(int);