LayoutManager::LayoutManager(IInput &input, IClipboard &clipboard, TextureManager &texman, AppController& controller)
  : //_input(input)
 // , _clipboard(clipboard)
    _texman(texman)
  , _tsCurrent(_timestep.end())
  , _tsDeleteCurrent(false)
  , _captureCountSystem(0)
  , _focusWnd(nullptr)
  , _hotTrackWnd(nullptr)
  , _desktop(nullptr)
  , _isAppActive(false)
#ifndef NDEBUG
  , _dbgFocusIsChanging(false)
#endif
{
	_desktop.Set(new Desktop(this, controller.GetAppState(), controller.GetFs(), controller.GetLogger()));
}