#include "modules/desktop_capture/linux/x11/shared_x_display.h"
#include <X11/Xlib.h>
#include <X11/extensions/XTest.h>
#include <algorithm>
#include "absl/strings/string_view.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
namespace webrtc {
SharedXDisplay::SharedXDisplay(Display* display) : … { … }
SharedXDisplay::~SharedXDisplay() { … }
rtc::scoped_refptr<SharedXDisplay> SharedXDisplay::Create(
absl::string_view display_name) { … }
rtc::scoped_refptr<SharedXDisplay> SharedXDisplay::CreateDefault() { … }
void SharedXDisplay::AddEventHandler(int type, XEventHandler* handler) { … }
void SharedXDisplay::RemoveEventHandler(int type, XEventHandler* handler) { … }
void SharedXDisplay::ProcessPendingXEvents() { … }
void SharedXDisplay::IgnoreXServerGrabs() { … }
}