diff options
author | Richard Grenville <[email protected]> | 2014-04-19 19:41:26 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2014-04-19 19:41:26 +0800 |
commit | b175464e8c88cc911dcc11198f247fa47c9586a5 (patch) | |
tree | 1cb7cae1fde07090a6bf05e7ac3f717c7894fd88 /c2.c | |
parent | dbba28f946bac1a73b31f326f41ff282994d8176 (diff) | |
download | tdebase-b175464e8c88cc911dcc11198f247fa47c9586a5.tar.gz tdebase-b175464e8c88cc911dcc11198f247fa47c9586a5.zip |
Misc: Try to avoid evaluating conditions after window unmap & others
- Try to avoid evaluating conditions after window unmap/destruction.
Unfortunately, frequently this doesn't work due to the asynchronous
nature of X.
- Add _GTK_FRAME_EXTENTS exclusion rules to compton.sample.conf. Thanks
to memeplex, hexchain, and others for info. (#189)
- Add debugging option --show-all-xerrors, and other debugging changes.
Doc update.
Diffstat (limited to 'c2.c')
-rw-r--r-- | c2.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1292,6 +1292,8 @@ c2_match_once(session_t *ps, win *w, const c2_ptr_t cond) { bool c2_matchd(session_t *ps, win *w, const c2_lptr_t *condlst, const c2_lptr_t **cache, void **pdata) { + assert(IsViewable == w->a.map_state); + // Check if the cached entry matches firstly if (cache && *cache && c2_match_once(ps, w, (*cache)->ptr)) { if (pdata) |