You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 40b4b4f
Browse filesBrowse the repository at this point in the historyBrowse files
GPUDisplayFrontend* me = reinterpret_cast<GPUDisplayFrontend*>(ptr);
65
-
int32_t retVal = me->FrontendMain();
66
-
if (retVal == -1) {
66
+
int32_t retVal;
67
+
try {
68
+
retVal = me->FrontendMain();
69
+
} catch (const std::exception& e) {
70
+
GPUError("Error in display frontend: %s", e.what());
71
+
retVal = -1;
72
+
}
73
+
if (retVal && me->mDisplay->mInitResult == 0) { // Failed before InitDisplay was called, report failure to StartDisplay(), which otherwise waits forever
applyInitialWindowState(); // Must be requested before the first commit
509
+
xdg_toplevel_set_app_id(mXdgToplevel, "o2-gpu-event-display"); // Used by the compositor for window grouping, window rules, and matching a .desktop file
510
+
applyInitialWindowState(); // Must be requested before the first commit
506
511
507
512
if (mDecManager) { // Must be requested before the first commit. Without the protocol (e.g. GNOME), the window has no decorations
0 commit comments