summaryrefslogtreecommitdiff
path: root/i3lock.c
diff options
context:
space:
mode:
authorDaniel Otero <otero.o.daniel@gmail.com>2015-02-12 21:38:37 +0100
committerDaniel Otero <otero.o.daniel@gmail.com>2015-02-12 21:38:37 +0100
commit86323f6e042a3d22218f64eba9c97c3cc0d4b04b (patch)
tree4eceeab61792acda7ca64a74c33add7fd40a5bad /i3lock.c
parent9e48c74be19f7a27b2e01cf744f85b8b313a45b3 (diff)
Update the key symbol if the composing ends.
Diffstat (limited to 'i3lock.c')
-rw-r--r--i3lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3lock.c b/i3lock.c
index 16e7911..7f8218e 100644
--- a/i3lock.c
+++ b/i3lock.c
@@ -334,7 +334,7 @@ static void handle_key_press(xcb_key_press_event_t *event) {
/* xkb_compose_state_get_utf8 doesn't include the terminating byte in the return value
* as xkb_keysym_to_utf8 does. Adding one makes the variable n consistent. */
n = xkb_compose_state_get_utf8(xkb_compose_state, buffer, sizeof(buffer)) + 1;
- //ksym = xkb_compose_state_get_one_sym(xkb_compose_state); // Not sure if it's needed
+ ksym = xkb_compose_state_get_one_sym(xkb_compose_state);
composed = true;
break;
case XKB_COMPOSE_CANCELLED: