1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

win: assert server is grabbed in win_recheck_client

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2020-04-11 02:40:50 +01:00
parent f8f1758137
commit 4d55bc8dbe
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47

View file

@ -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;