File indexing completed on 2025-04-27 11:32:59
0001 /* 0002 KWin - the KDE window manager 0003 This file is part of the KDE project. 0004 0005 SPDX-FileCopyrightText: 2017 Martin Flöser <mgraesslin@kde.org> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 #pragma once 0010 0011 #include "x11eventfilter.h" 0012 0013 namespace KWin 0014 { 0015 class EffectsHandlerImpl; 0016 0017 class EffectsMouseInterceptionX11Filter : public X11EventFilter 0018 { 0019 public: 0020 explicit EffectsMouseInterceptionX11Filter(xcb_window_t window, EffectsHandlerImpl *effects); 0021 0022 bool event(xcb_generic_event_t *event) override; 0023 0024 private: 0025 EffectsHandlerImpl *m_effects; 0026 xcb_window_t m_window; 0027 }; 0028 0029 }