diff --git a/src/win.c b/src/win.c index e8e2a3a..2934d4f 100644 --- a/src/win.c +++ b/src/win.c @@ -227,6 +227,7 @@ bool win_bind_image(session_t *ps, win *w) { bool win_try_rebind_image(session_t *ps, win *w) { log_trace("Freeing old window image"); + // Must release first, otherwise breaks NVIDIA driver win_release_image(ps->backend_data, w); return win_bind_image(ps, w);