From 1a7fffc29115b6760a855d9ca9a8323ba23d01b4 Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 3 Aug 2019 07:51:14 -0500 Subject: global rename. unimportant function --- src/keyboard_x11.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/keyboard_x11.c b/src/keyboard_x11.c index 0a083b9..67def88 100644 --- a/src/keyboard_x11.c +++ b/src/keyboard_x11.c @@ -7,7 +7,7 @@ #include "keyboard.h" #include "keyboard_x11.h" //for event mask and key definitions -extern struct global global; +extern struct hvr_global global; #include "graphics_c3.h" extern struct gra_global gra_global; @@ -15,6 +15,10 @@ extern struct gra_global gra_global; #include "graphics_x11.h" extern struct x11_global x11_global; +int keyboard_init() {//return the fd that events should be read from. + return x11_global.fd;//good for now? +} + //I need some xkey -> HVK conversion hvk_t x11_keypress_handler(XKeyEvent *); hvk_t x11_passthru(XKeyEvent *); -- cgit v1.2.3