Commit c4321f0e authored by Joone Hur's avatar Joone Hur Committed by Commit Bot

Call XRootWindow instead of RootWindow

We have to use the X11 header wrapper since r515373.

BUG=782184

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: Icda075c7cc9723f9bd8c667d6ab7e8848e48f8b1
Reviewed-on: https://chromium-review.googlesource.com/911626Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
Commit-Queue: Joone Hur <joone.hur@intel.com>
Cr-Commit-Position: refs/heads/master@{#535956}
parent a1e0b0bd
......@@ -16,7 +16,7 @@ gfx::AcceleratedWidget CreateNativeWindow(const gfx::Rect& bounds) {
swa.event_mask = StructureNotifyMask | ExposureMask;
swa.override_redirect = x11::True;
XID window = XCreateWindow(
display, RootWindow(display, DefaultScreen(display)), // parent
display, XRootWindow(display, DefaultScreen(display)), // parent
bounds.x(), bounds.y(), bounds.width(), bounds.height(),
0, // border width
CopyFromParent, // depth
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment