backend: allow transparent windows to clip other windows

Transparent windows usually blends on top of other windows, this commit
adds an option to make transparent windows clip other windows like
non-transparent windows do.

Closes #265

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-11-30 21:24:22 +00:00
parent 7040579a38
commit 6a3d1354be
6 changed files with 53 additions and 5 deletions

View File

@@ -235,6 +235,10 @@ typedef struct options {
// Don't use EWMH to detect fullscreen applications
bool no_ewmh_fullscreen;
// Make transparent windows clip other windows, instead of blending on top of
// them
bool transparent_clipping;
} options_t;
extern const char *const BACKEND_STRS[NUM_BKEND + 1];