Advance Wayland and KDE package bring-up

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-14 10:51:06 +01:00
parent 51f3c21121
commit cf12defd28
15214 changed files with 20594243 additions and 269 deletions
@@ -0,0 +1,59 @@
/*
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "windowthumbnailitem.h"
namespace KWin
{
class Output;
class VirtualDesktop;
/**
* The DesktopBackgroundItem type is a convenience helper that represents the desktop
* background on the specified screen, virtual desktop, and activity.
*/
class DesktopBackgroundItem : public WindowThumbnailItem
{
Q_OBJECT
Q_PROPERTY(QString outputName READ outputName WRITE setOutputName NOTIFY outputChanged)
Q_PROPERTY(KWin::Output *output READ output WRITE setOutput NOTIFY outputChanged)
Q_PROPERTY(QString activity READ activity WRITE setActivity NOTIFY activityChanged)
Q_PROPERTY(KWin::VirtualDesktop *desktop READ desktop WRITE setDesktop NOTIFY desktopChanged)
public:
explicit DesktopBackgroundItem(QQuickItem *parent = nullptr);
void componentComplete() override;
QString outputName() const;
void setOutputName(const QString &name);
Output *output() const;
void setOutput(Output *output);
VirtualDesktop *desktop() const;
void setDesktop(VirtualDesktop *desktop);
QString activity() const;
void setActivity(const QString &activity);
Q_SIGNALS:
void outputChanged();
void desktopChanged();
void activityChanged();
private:
void updateWindow();
Output *m_output = nullptr;
VirtualDesktop *m_desktop = nullptr;
QString m_activity;
};
} // namespace KWin