KWin
Loading...
Searching...
No Matches
hide_cursor_spy.h
Go to the documentation of this file.
1/*
2 KWin - the KDE window manager
3 This file is part of the KDE project.
4
5 SPDX-FileCopyrightText: 2018 Martin Flöser <mgraesslin@kde.org>
6
7 SPDX-License-Identifier: GPL-2.0-or-later
8*/
9#pragma once
10#include "input_event_spy.h"
11
12namespace KWin
13{
14
16{
17public:
18 void pointerEvent(KWin::MouseEvent *event) override;
19 void wheelEvent(KWin::WheelEvent *event) override;
20 void touchDown(qint32 id, const QPointF &pos, std::chrono::microseconds time) override;
21 void tabletToolEvent(TabletEvent *event) override;
22
23private:
24 void showCursor();
25 void hideCursor();
26
27 bool m_cursorHidden = false;
28};
29
30}
void touchDown(qint32 id, const QPointF &pos, std::chrono::microseconds time) override
void wheelEvent(KWin::WheelEvent *event) override
void pointerEvent(KWin::MouseEvent *event) override
void tabletToolEvent(TabletEvent *event) override