win: assert server is grabbed in win_recheck_client
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
f8f1758137
commit
4d55bc8dbe
|
@ -1078,6 +1078,7 @@ static xcb_window_t find_client_win(session_t *ps, xcb_window_t w) {
|
||||||
* @param w struct _win of the parent window
|
* @param w struct _win of the parent window
|
||||||
*/
|
*/
|
||||||
void win_recheck_client(session_t *ps, struct managed_win *w) {
|
void win_recheck_client(session_t *ps, struct managed_win *w) {
|
||||||
|
assert(ps->server_grabbed);
|
||||||
// Initialize wmwin to false
|
// Initialize wmwin to false
|
||||||
w->wmwin = false;
|
w->wmwin = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue