assert( ecoreSurface != nullptr && "This is not ecore surface!");
mConnection = XGetXCBConnection(XOpenDisplay(nullptr));
mWindow = static_cast<decltype(mWindow)>(ecoreSurface->GetXWindow());
assert( ecoreSurface != nullptr && "This is not ecore surface!");
mConnection = XGetXCBConnection(XOpenDisplay(nullptr));
mWindow = static_cast<decltype(mWindow)>(ecoreSurface->GetXWindow());