diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 21:54:56 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 21:54:56 +0000 |
commit | d39c2d304f96ba7a8be426e82f5d60df88f80b8e (patch) | |
tree | 2f99e4117ccfcadd3580591845855946c5ff2a4d /ui | |
parent | 2d6f487279e36a92f20aebaac862619e83301d25 (diff) | |
download | chromium_src-d39c2d304f96ba7a8be426e82f5d60df88f80b8e.zip chromium_src-d39c2d304f96ba7a8be426e82f5d60df88f80b8e.tar.gz chromium_src-d39c2d304f96ba7a8be426e82f5d60df88f80b8e.tar.bz2 |
Put back the code that I accidentally removed in crrev.com/17099003
TBR=sky@chromium.org
BUG=252813
TEST=none
Review URL: https://codereview.chromium.org/17068017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/aura/root_window_host_x11.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/aura/root_window_host_x11.cc b/ui/aura/root_window_host_x11.cc index 858abbc..d0709cc 100644 --- a/ui/aura/root_window_host_x11.cc +++ b/ui/aura/root_window_host_x11.cc @@ -413,6 +413,9 @@ RootWindowHostX11::RootWindowHostX11(const gfx::Rect& bounds) 32, PropModeReplace, reinterpret_cast<unsigned char*>(&pid), 1); + + XRRSelectInput(xdisplay_, x_root_window_, + RRScreenChangeNotifyMask | RROutputChangeNotifyMask); Env::GetInstance()->AddObserver(this); } |