- Code: Select all
bool NativeViewGLSurfaceGLX::Initialize(GLSurfaceFormat format) {
XWindowAttributes attributes;
if (!XGetWindowAttributes(gfx::GetXDisplay(), parent_window_, &attributes)) {
LOG(ERROR) << "XGetWindowAttributes failed for window " << parent_window_
<< ".";
return false;
}
Ref: https://cs.chromium.org/chromium/src/ui ... 2d67d88389
It seems that 'parent_window_' is not valid anymore. Why would that happen?
When using GTK 2 then I can get transparent windows working fine in windowed mode, however it doesn't work in GTK 3 due to that error. Anyone have an idea how to fix that?
Using CEF 3538 (v70).