From f2fd785128177b622bbf1662ee3ff3974c185a89 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 22 Jan 2019 16:55:46 +0100 Subject: [PATCH] Fixed comment. --- uwac/libuwac/uwac-window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uwac/libuwac/uwac-window.c b/uwac/libuwac/uwac-window.c index e62986997..267f6f6b5 100644 --- a/uwac/libuwac/uwac-window.c +++ b/uwac/libuwac/uwac-window.c @@ -640,7 +640,8 @@ UwacReturnCode UwacWindowSubmitBuffer(UwacWindow* window, bool copyContentForNex if (window->pendingBuffer) { - /* we already have a pending frame, don't do anything*/ + /* we already have a pending frame. resubmit as the buffer + * might have been discarded due to focus loss */ UwacSubmitBufferPtr(window, window->pendingBuffer); return UWAC_SUCCESS; }