quickshell/src/window/test/windowattached.hpp
outfoxxed 8882f7ca50
core/proxywindow: fix ProxiedWindow proxy pointer after reload
Previously was not updated after reload, causing QsWindowAttached to
use the old window pointer after it had been freed.
2024-11-29 00:11:56 -08:00

15 lines
313 B
C++

#pragma once
#include <qobject.h>
#include <qtmetamacros.h>
class TestWindowAttachment: public QObject {
Q_OBJECT;
private slots:
static void attachedAfterReload();
static void attachedBeforeReload();
static void earlyAttachReloaded();
static void owningWindowChanged();
static void nonItemParents();
};