From 6162a18f445b89400be521fdeeb0d6a812a03c35 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Sun, 25 Oct 2020 10:43:43 -0500 Subject: move honey_window_information to common.h and add mouse movement functions --- src/honey.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/honey.c') diff --git a/src/honey.c b/src/honey.c index 5cf960e..9e8bc45 100644 --- a/src/honey.c +++ b/src/honey.c @@ -72,10 +72,6 @@ bool honey_setup(lua_State** L) lua_setglobal(*L, "honey"); - lua_rawgeti(*L, LUA_REGISTRYINDEX, honey_window_info_ref); - honey_window_information* info = lua_touserdata(*L, -1); - glfwSetKeyCallback(info->window, default_honey_keyboard_callback); - return true; } -- cgit v1.2.1