https://invent.kde.org/plasma/kwin/-/merge_requests/1220

This reverts commit 44ad9437c4 because it
breaks build:
platforms/x11/common/eglonxbackend.cpp:224:66: error: cannot initialize a parameter of type 'EGLNativeWindowType' (aka 'unsigned long') with an rvalue of type 'xcb_window_t *' (aka 'unsigned int *')
        surface = eglCreateWindowSurface(eglDisplay(), config(), &window, nullptr);
                                                                 ^~~~~~~
remotes/origin/work/fvogt/fakevmblank
Aleix Pol 5 years ago
parent 44ad9437c4
commit 896880be96
  1. 2
      src/plugins/platforms/x11/common/eglonxbackend.cpp

@ -221,7 +221,7 @@ EGLSurface EglOnXBackend::createSurface(xcb_window_t window)
// cannot be an xcb_window_t.
surface = eglCreatePlatformWindowSurfaceEXT(eglDisplay(), config(), (void *) &window, nullptr);
} else {
surface = eglCreateWindowSurface(eglDisplay(), config(), &window, nullptr);
surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr);
}
return surface;

Loading…
Cancel
Save