Introduction
Introduction Statistics Contact Development Disclaimer Help
tRevert "Remove unnecessary XFilterEvent call." - st - [fork] customized build …
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 5f48e89716a74e75b6040fdb067372180626b699
parent bdd649a10289ade364f3deab3bbf6ee3169d67ca
Author: Weng Xuetian <[email protected]>
Date: Thu, 2 Jul 2015 08:31:12 +0200
Revert "Remove unnecessary XFilterEvent call."
This reverts commit d2937b05aed9cee8d6651cd806d31682a853c773.
Diffstat:
M st.c | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -3912,6 +3912,13 @@ run(void) {
/* Waiting for window mapping */
do {
XNextEvent(xw.dpy, &ev);
+ /*
+ * XFilterEvent is required to be called after you using XOpen…
+ * this is not unnecessary.It does not only filter the key eve…
+ * but some clientmessage for input method as well.
+ */
+ if(XFilterEvent(&ev, None))
+ continue;
if(ev.type == ConfigureNotify) {
w = ev.xconfigure.width;
h = ev.xconfigure.height;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.