2017-09-13 19:44:07 +00:00
|
|
|
/********************************************************************
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
2020-08-02 22:10:35 +00:00
|
|
|
SPDX-FileCopyrightText: 2017 Martin Flöser <mgraesslin@kde.org>
|
2017-09-13 19:44:07 +00:00
|
|
|
|
2020-08-02 22:10:35 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
2017-09-13 19:44:07 +00:00
|
|
|
*********************************************************************/
|
|
|
|
#ifndef KWIN_ROOTINFO_FILTER_H
|
|
|
|
#define KWIN_ROOTINFO_FILTER_H
|
|
|
|
|
|
|
|
#include "x11eventfilter.h"
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
class RootInfo;
|
|
|
|
|
|
|
|
class RootInfoFilter : public X11EventFilter
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit RootInfoFilter(RootInfo *parent);
|
|
|
|
|
|
|
|
bool event(xcb_generic_event_t *event) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
RootInfo *m_rootInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|