Don't start fading when screen is unredirected
If a window is destroyed and starts to fade out when screen is unredirected, when the screen become redirected again, we will generate errors when trying to render that window. Also make sure the assumption that all window are either MAPPED or UNMAPPED when screen is unredirected holds. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -368,6 +368,10 @@ win_check_fade_finished(session_t *ps, win **_w);
|
||||
// Stop receiving events (except ConfigureNotify, XXX why?) from a window
|
||||
void win_ev_stop(session_t *ps, win *w);
|
||||
|
||||
/// Skip the current in progress fading of window,
|
||||
/// transition the window straight to its end state
|
||||
void win_skip_fading(session_t *ps, win **_w);
|
||||
|
||||
/**
|
||||
* Get the leader of a window.
|
||||
*
|
||||
|
Reference in New Issue
Block a user