mirror of
https://github.com/vicr123/theshell.git
synced 2025-01-23 20:22:27 -05:00
20 lines
441 B
C++
20 lines
441 B
C++
#ifndef NATIVEEVENTFILTER_H
|
|
#define NATIVEEVENTFILTER_H
|
|
|
|
#include <QAbstractNativeEventFilter>
|
|
#include <X11/Xlib.h>
|
|
#include <xcb/xcb.h>
|
|
#include <QX11Info>
|
|
#include <X11/X.h>
|
|
#include <X11/Xatom.h>
|
|
#include <X11/keysym.h>
|
|
|
|
class NativeEventFilter : public QAbstractNativeEventFilter
|
|
{
|
|
public:
|
|
NativeEventFilter();
|
|
|
|
bool nativeEventFilter(const QByteArray &eventType, void *message, long *result);
|
|
};
|
|
|
|
#endif // NATIVEEVENTFILTER_H
|