forked from quickshell/quickshell
core/proxywindow: improve QsWindowAttached robustness
Can now track window parent window changes. Added tests.
This commit is contained in:
parent
539692bc11
commit
b6a79fe99c
7 changed files with 145 additions and 36 deletions
14
src/window/test/windowattached.hpp
Normal file
14
src/window/test/windowattached.hpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <qobject.h>
|
||||
#include <qtmetamacros.h>
|
||||
|
||||
class TestWindowAttachment: public QObject {
|
||||
Q_OBJECT;
|
||||
|
||||
private slots:
|
||||
static void attachedAfterReload();
|
||||
static void attachedBeforeReload();
|
||||
static void owningWindowChanged();
|
||||
static void nonItemParents();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue