#include "remoting/host/desktop_display_info_loader_x11.h"
#include <algorithm>
#include <memory>
#include "base/memory/raw_ptr.h"
#include "remoting/base/constants.h"
#include "remoting/base/logging.h"
#include "remoting/host/x11_display_util.h"
#include "ui/base/x/x11_display_util.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/x/connection.h"
#include "ui/gfx/x/event.h"
#include "ui/gfx/x/future.h"
#include "ui/gfx/x/randr.h"
#include "ui/gfx/x/window_event_manager.h"
namespace remoting {
namespace {
constexpr std::pair<uint32_t, uint32_t> kMinRandrVersion{1, 5};
}
DesktopDisplayInfoLoaderX11::DesktopDisplayInfoLoaderX11() = default;
DesktopDisplayInfoLoaderX11::~DesktopDisplayInfoLoaderX11() { … }
void DesktopDisplayInfoLoaderX11::Init() { … }
DesktopDisplayInfo DesktopDisplayInfoLoaderX11::GetCurrentDisplayInfo() { … }
void DesktopDisplayInfoLoaderX11::OnEvent(const x11::Event& xevent) { … }
void DesktopDisplayInfoLoaderX11::LoadMonitors() { … }
}