window: changing screen now recreates the window on the new screen

This commit is contained in:
outfoxxed 2024-03-09 04:47:40 -08:00
parent 31365dd179
commit 5f9bb9b46c
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 10 additions and 2 deletions

View file

@ -28,6 +28,9 @@ public:
/// See [Quickshell.screens] for an example of using `Variants` to create copies of a window per
/// screen.
///
/// > [!WARNING] BUG: Variants currently fails to reload children if the variant set is changed as
/// > it is instantiated. (usually due to a mutation during variant creation)
///
/// [Quickshell.screens]: ../quickshell#prop.screens
class Variants: public Reloadable {
Q_OBJECT;