ecere/gui/Window: Tweak to avoid wasting time on fullRender
authorJerome St-Louis <jerome@ecere.com>
Mon, 15 Dec 2014 07:37:32 +0000 (02:37 -0500)
committerJerome St-Louis <jerome@ecere.com>
Mon, 21 Dec 2015 19:34:53 +0000 (14:34 -0500)
ecere/src/gui/Window.ec

index a2dce1e..f5b950e 100644 (file)
@@ -6451,6 +6451,11 @@ public:
             Box realBox;
 
             // Testing this to avoid repetitve full update to take time...
+            if(rootWindow.fullRender)
+            {
+               rootWindow.dirty = true;
+               return;
+            }
             if(dirtyArea.count == 1)
             {
                BoxItem item = (BoxItem)ACCESS_ITEM(dirtyArea, dirtyArea.first);