forked from quickshell/quickshell
core/window: handle graphics context loss
This commit is contained in:
parent
a2146f6394
commit
3dfb7d8827
4 changed files with 33 additions and 2 deletions
|
@ -134,6 +134,7 @@ void WindowInterface::connectSignals() const {
|
|||
auto* window = this->proxyWindow();
|
||||
// clang-format off
|
||||
QObject::connect(window, &ProxyWindowBase::closed, this, &WindowInterface::closed);
|
||||
QObject::connect(window, &ProxyWindowBase::resourcesLost, this, &WindowInterface::resourcesLost);
|
||||
QObject::connect(window, &ProxyWindowBase::windowConnected, this, &WindowInterface::windowConnected);
|
||||
QObject::connect(window, &ProxyWindowBase::visibleChanged, this, &WindowInterface::visibleChanged);
|
||||
QObject::connect(window, &ProxyWindowBase::backerVisibilityChanged, this, &WindowInterface::backingWindowVisibleChanged);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue