From 3c3414629a011771262f0c81be05da299d04a982 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Thu, 18 Jul 2013 16:58:55 +0200 Subject: [PATCH] on wake up after sleeping the screen the unfreeze of w3c widget is triggered --- src/core/UBDisplayManager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/UBDisplayManager.cpp b/src/core/UBDisplayManager.cpp index f1d3a865..ef618193 100644 --- a/src/core/UBDisplayManager.cpp +++ b/src/core/UBDisplayManager.cpp @@ -29,6 +29,7 @@ #include "core/UBSettings.h" #include "board/UBBoardView.h" +#include "board/UBBoardController.h" #include "gui/UBBlackoutWidget.h" @@ -277,7 +278,6 @@ void UBDisplayManager::blackout() } } - void UBDisplayManager::unBlackout() { while (!mBlackoutWidgets.isEmpty()) @@ -287,6 +287,9 @@ void UBDisplayManager::unBlackout() } UBPlatformUtils::fadeDisplayIn(); + + UBApplication::boardController->freezeW3CWidgets(false); + }