node -> xkeys_t, moved to .h file.

This commit is contained in:
m1k1o
2021-04-12 19:29:19 +02:00
parent b169195b69
commit 285d4b630b
2 changed files with 12 additions and 12 deletions

View File

@ -16,6 +16,12 @@
extern void goCreateScreenSize(int index, int width, int height, int mwidth, int mheight);
extern void goSetScreenRates(int index, int rate_index, short rate);
typedef struct xkeys_t {
KeySym keysym;
KeyCode keycode;
struct xkeys_t *next;
} xkeys_t;
/* Returns the main display, closed either on exit or when closeMainDisplay()
* is invoked. This removes a bit of the overhead of calling XOpenDisplay() &
* XCloseDisplay() everytime the main display needs to be used.