From 1b955cabc5b66fc3573b0cb8812225f18a95bda0 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 17 Mar 2019 03:47:44 +0000 Subject: [PATCH] win: add comment mentioning the NVIDIA bug Signed-off-by: Yuxuan Shui --- src/win.c | 1 + 1 file changed, 1 insertion(+) 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);