about summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 821ed24..9bc58e2 100644
--- a/input.c
+++ b/input.c
@@ -20,9 +20,9 @@ input_keycodetrans(KeyCode kc, u_int state,
 	*chr = '\0';
 
 	if (state & ShiftMask)
-		ks = XKeycodeToKeysym(G_dpy, kc, 1);
+		ks = XKeycodeToKeysym(X_Dpy, kc, 1);
 	else
-		ks = XKeycodeToKeysym(G_dpy, kc, 0);
+		ks = XKeycodeToKeysym(X_Dpy, kc, 0);
 
 	/* Look for control characters. */
 	switch (ks) {