webrtc_m130/modules/desktop_capture
Lambros Lambrou 463d69afc4 Update X11 RANDR monitors on ConfigureNotify event.
According to the RANDR 1.5 spec:
https://cgit.freedesktop.org/xorg/proto/randrproto/tree/randrproto.txt

RRSetMonitor and RRDeleteMonitor requests will generate a
ConfigureNotify event on the root window of the screen.

They do not appear to generate any RRScreenChangeNotify or other
similar event. So this CL causes ScreenCapturerX11's monitor list to be
updated on ConfigureNotify events. It is needed, for example, when
using a commandline such as "xrandr --setmonitor ..." to add monitors.

Bug: None
Change-Id: I1948a8b96800721409472ac6264c935abe169ec3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/230882
Commit-Queue: Joe Downing <joedow@chromium.org>
Reviewed-by: Joe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#34919}
2021-09-03 17:03:08 +00:00
..
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00