neko/internal/desktop/xevent/xevent.h

18 lines
581 B
C
Raw Normal View History

2021-01-11 03:55:29 +13:00
#pragma once
2021-01-12 12:09:43 +13:00
#include <X11/Xutil.h>
2021-01-12 03:30:53 +13:00
#include <X11/Xatom.h>
2021-01-11 03:55:29 +13:00
#include <X11/Xlib.h>
#include <X11/extensions/Xfixes.h>
#include <stdlib.h>
extern void goXEventCursorChanged(XFixesCursorNotifyEvent event);
2021-01-12 03:30:53 +13:00
extern void goXEventClipboardUpdated();
2021-01-19 09:40:57 +13:00
extern void goXEventWindowCreated(Window window, char *name, char *role);
extern void goXEventWindowConfigured(Window window, char *name, char *role);
2021-01-11 03:55:29 +13:00
extern void goXEventError(XErrorEvent *event, char *message);
extern int goXEventActive();
static int XEventError(Display *display, XErrorEvent *event);
void XEventLoop(char *display);