Finish code to connect to IBUS daemon

This commit is contained in:
Kovid Goyal
2018-07-09 09:22:36 +05:30
parent 5b7c697dfe
commit dca81589a7
4 changed files with 173 additions and 19 deletions

4
glfw/ibus_glfw.h vendored
View File

@@ -30,8 +30,10 @@
#include "dbus_glfw.h"
typedef struct {
GLFWbool ok;
GLFWbool ok, inited;
time_t address_file_mtime;
DBusConnection *conn;
const char *input_ctx_path, *address_file_name, *address;
} _GLFWIBUSData;
void glfw_connect_to_ibus(_GLFWIBUSData *ibus, _GLFWDBUSData *dbus);