diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2012-10-24 10:09:59 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2012-10-24 10:23:26 +0800 |
commit | c1471ff16a88f5383450fa6715124b465f379727 (patch) | |
tree | 7fe817717ea401af92ef5a0f6908eefcc756886c /compton.h | |
parent | 71613f20c2f50b9a9a24547296d6ef81e5a119c8 (diff) | |
download | tdebase-c1471ff16a88f5383450fa6715124b465f379727.tar.gz tdebase-c1471ff16a88f5383450fa6715124b465f379727.zip |
Improvement: Add painting on overlay support
- Add support for painting on X Composite overlay window instead of root
window (--paint-on-overlay). I intended to use this to fix the
conflict between conky (own-window off) and compton, but it's
unsuccessful. Will have to ask somebody to figure out how to solve
this problem.
- Rename a few variables to avoid confusion.
- Slightly change how root window content (wallpaper) change is
detected.
- Slightly improve window name detection in DEBUG_EVENTS.
Diffstat (limited to 'compton.h')
-rw-r--r-- | compton.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -307,6 +307,9 @@ typedef struct _options { Bool fork_after_register; /// Whether to detect rounded corners. Bool detect_rounded_corners; + /// Whether to paint on X Composite overlay window instead of root + /// window. + Bool paint_on_overlay; /// Whether to work under synchronized mode for debugging. Bool synchronize; @@ -1159,3 +1162,9 @@ vsync_wait(Display *dpy, struct pollfd *fd, int timeout); static void init_alpha_picts(Display *dpy); + +static void +init_dbe(void); + +static void +init_overlay(void); |