#include "remoting/host/linux/x11_util.h"
#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/strings/string_util.h"
#include "base/types/cxx23_to_underlying.h"
#include "remoting/base/logging.h"
#include "ui/gfx/x/future.h"
#include "ui/gfx/x/randr.h"
#include "ui/gfx/x/xinput.h"
#include "ui/gfx/x/xproto_types.h"
#include "ui/gfx/x/xtest.h"
namespace remoting {
ScopedXGrabServer::ScopedXGrabServer(x11::Connection* connection)
: … { … }
ScopedXGrabServer::~ScopedXGrabServer() { … }
bool IgnoreXServerGrabs(x11::Connection* connection, bool ignore) { … }
bool IsVirtualSession(x11::Connection* connection) { … }
bool IsUsingVideoDummyDriver(x11::Connection* connection) { … }
x11::Atom GetX11Atom(x11::Connection* connection, const std::string& name) { … }
void SetOutputPhysicalSizeInMM(x11::Connection* connection,
x11::RandR::Output output,
int width,
int height) { … }
}