Refresh stale image in critical section

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-05-22 22:38:22 +01:00
parent b5da914920
commit 094f00a048
3 changed files with 30 additions and 22 deletions

View File

@ -229,8 +229,8 @@ typedef struct session {
bool reset:1;
/// If compton should quit
bool quit:1;
/// If new window has been added and not been handled
bool has_new_window:1;
/// Whether there are pending updates, like window creation, etc.
bool pending_updates:1;
// === Expose event related ===
/// Pointer to an array of <code>XRectangle</code>-s of exposed region.