forked from quickshell/quickshell
x11/panelwindow: do not look up engine generation in ~XPanelWindow()
Looking up engine generation in the destructor causes occasional crashes. This commit caches it to prevent that from happening.
This commit is contained in:
parent
517143adf9
commit
71fe3d9165
2 changed files with 9 additions and 4 deletions
|
|
@ -98,6 +98,7 @@ private:
|
|||
Margins mMargins;
|
||||
qint32 mExclusiveZone = 0;
|
||||
ExclusionMode::Enum mExclusionMode = ExclusionMode::Auto;
|
||||
EngineGeneration* knownGeneration = nullptr;
|
||||
|
||||
QRect lastScreenVirtualGeometry;
|
||||
XPanelEventFilter eventFilter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue