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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user