ui: fix wayland requestActivate warning on device (#33054)
fix wayland requestActivate warning in fullscreen mode old-commit-hash: bd8dd65ce0e5477100e07f33d2b237111e922c62
This commit is contained in:
@@ -18,7 +18,9 @@ void setMainWindow(QWidget *w) {
|
||||
wl_surface *s = reinterpret_cast<wl_surface*>(native->nativeResourceForWindow("surface", w->windowHandle()));
|
||||
wl_surface_set_buffer_transform(s, WL_OUTPUT_TRANSFORM_270);
|
||||
wl_surface_commit(s);
|
||||
w->showFullScreen();
|
||||
|
||||
w->setWindowState(Qt::WindowFullScreen);
|
||||
w->setVisible(true);
|
||||
|
||||
// ensure we have a valid eglDisplay, otherwise the ui will silently fail
|
||||
void *egl = native->nativeResourceForWindow("egldisplay", w->windowHandle());
|
||||
|
||||
Reference in New Issue
Block a user