Add some notes on how to run IBUS for testing

This commit is contained in:
Kovid Goyal 2022-01-26 10:47:18 +05:30
parent 2151969ae5
commit d1531632a2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

11
glfw/ibus_glfw.c vendored
View File

@ -24,6 +24,17 @@
//
//========================================================================
/* To test under X11 start IBUS as:
* ibus-daemon -drxR
* Setup the input sources you want with:
* ibus-setup
* Switch to the input source you want to test with:
* ibus engine name
* You can list available engines with:
* ibus list-engine
* Then run kitty as:
* GLFW_IM_MODULE=ibus kitty
*/
#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>