X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Fgrabscreen.h;h=416c6b2b97f4386aaa94040e509740807aa4126d;hb=8eb2873d7054e705c4e83f22d18c40946a9e2529;hp=20a5ce408d6928d71a34805b783b729fdb6089e1;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/utils/grabscreen.h b/utils/grabscreen.h index 20a5ce40..416c6b2b 100644 --- a/utils/grabscreen.h +++ b/utils/grabscreen.h @@ -1,5 +1,5 @@ -/* xscreensaver, Copyright (c) 1992, 1993, 1994, 1997 - * Jamie Zawinski +/* xscreensaver, Copyright (c) 1992, 1993, 1994, 1997, 2001 + * Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -19,4 +19,17 @@ */ extern void grab_screen_image (Screen *, Window); +/* Whether one should use GCSubwindowMode when drawing on this window + (assuming a screen image has been grabbed onto it.) Yes, this is a + total kludge. */ +extern Bool use_subwindow_mode_p(Screen *screen, Window window); + +/* Whether the given window is: + - the real root window; + - the virtual root window; + - a direct child of the root window; + - a direct child of the window manager's decorations. + */ +extern Bool top_level_window_p(Screen *screen, Window window); + #endif /* __GRABSCREEN_H__ */