mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-24 17:33:50 +03:00
update signatures on abstractwindowinterface.h
This commit is contained in:
parent
6291e55260
commit
454ebfff50
@ -16,6 +16,8 @@
|
||||
|
||||
namespace Latte {
|
||||
|
||||
class XWindowInterface;
|
||||
|
||||
class AbstractWindowInterface : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
@ -33,9 +35,11 @@ public:
|
||||
virtual void setDockStruts(const QRect &dockRect, Plasma::Types::Location location) = 0;
|
||||
virtual void removeDockStruts() = 0;
|
||||
|
||||
static AbstractWindowInterface *getInstance(QQuickWindow *const view, QObject *parent = nullptr);
|
||||
|
||||
signals:
|
||||
void activeWindowChanged(WId wid);
|
||||
void windowChanged(const WindowInfoWrap &winfo);
|
||||
void windowChanged(WId winfo);
|
||||
void windowAdded(WId wid);
|
||||
void windowRemoved(WId wid);
|
||||
void currentDesktopChanged(int desktop);
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <QtX11Extras/QX11Info>
|
||||
|
||||
#include <KWindowSystem>
|
||||
#include <KWindowInfo>
|
||||
#include <NETWM>
|
||||
|
||||
namespace Latte {
|
||||
@ -167,7 +168,7 @@ void XWindowInterface::windowChangedProxy(WId wid, NET::Properties prop1, NET::P
|
||||
if (prop1 && !(prop1 & NET::WMState || prop1 & NET::WMGeometry || prop1 & NET::ActiveWindow))
|
||||
return;
|
||||
|
||||
emit windowChanged(requestInfo(wid));
|
||||
emit windowChanged(wid);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user