Delay focus updates until critical section. Rational is that focus events might arrive when the focused window hasn't been managed by compton, result in that that window not being focused. This commit makes compton mark focus update events, and only update focus in critical section, after we managed all the new windows. Fixes #177 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
22 KiB
22 KiB