x11: add XPanelWindow

This commit is contained in:
outfoxxed committed 2024-05-20 02:16:44 -07:00
1 parent 908ba3eef5
commit 73cfeba61b
15 files changed
+804 -5

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ ProxyWindowBase::~ProxyWindowBase() { this->deleteWindow(); }
void ProxyWindowBase::onReload(QObject* oldInstance) {
this->window = this->retrieveWindow(oldInstance);
auto wasVisible = this->window != nullptr && this->window->isVisible();
if (this->window == nullptr) this->window = new QQuickWindow();
if (this->window == nullptr) this->window = this->createQQuickWindow();
// The qml engine will leave the WindowInterface as owner of everything
// nested in an item, so we have to make sure the interface's children