#include "WorkAreaManager.h"
+#include "Application.h"
#include "WorkArea.h"
void WorkAreaManager::redrawAll(bool update_metrics)
{
for (WorkArea * wa : work_areas_)
- wa->redraw(update_metrics);
+ wa->scheduleRedraw(update_metrics);
}
}
+bool WorkAreaManager::unhide(Buffer * buf) const
+{
+ if (!work_areas_.empty())
+ return true;
+ return theApp()->unhide(buf);
+}
+
+
void WorkAreaManager::updateTitles()
{
for (WorkArea * wa : work_areas_)