KWin
|
#include <x11_standalone_windowselector.h>
Public Member Functions | |
WindowSelector () | |
~WindowSelector () override | |
void | start (std::function< void(KWin::Window *)> callback, const QByteArray &cursorName) |
void | start (std::function< void(const QPointF &)> callback) |
bool | isActive () const |
void | processEvent (xcb_generic_event_t *event) |
bool | event (xcb_generic_event_t *event) override |
![]() | |
X11EventFilter (int eventType, int opcode=0, int genericEventType=0) | |
X11EventFilter (int eventType, int opcode, const QList< int > &genericEventTypes) | |
X11EventFilter (const QList< int > &eventTypes) | |
virtual | ~X11EventFilter () |
QList< int > | eventTypes () const |
int | extension () const |
QList< int > | genericEventTypes () const |
bool | isGenericEvent () const |
Definition at line 26 of file x11_standalone_windowselector.h.
KWin::WindowSelector::WindowSelector | ( | ) |
Definition at line 26 of file x11_standalone_windowselector.cpp.
|
override |
Definition at line 42 of file x11_standalone_windowselector.cpp.
|
overridevirtual |
This method is called for every event of the filtered type.
Return true to accept the event and stop further processing, and false otherwise.
Implements KWin::X11EventFilter.
Definition at line 134 of file x11_standalone_windowselector.cpp.
|
inline |
Definition at line 34 of file x11_standalone_windowselector.h.
void KWin::WindowSelector::processEvent | ( | xcb_generic_event_t * | event | ) |
Definition at line 123 of file x11_standalone_windowselector.cpp.
void KWin::WindowSelector::start | ( | std::function< void(const QPointF &)> | callback | ) |
Definition at line 61 of file x11_standalone_windowselector.cpp.
void KWin::WindowSelector::start | ( | std::function< void(KWin::Window *)> | callback, |
const QByteArray & | cursorName ) |
Definition at line 46 of file x11_standalone_windowselector.cpp.