diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-09-03 22:08:04 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-09-11 07:56:33 (GMT) |
commit | cdd6861aff5cd06f84c9d23456b5a92b4202e423 (patch) | |
tree | a517c8a2638fe146c2db4af075dbf05f7db1e917 /src/FbTk/EventManager.cc | |
parent | 2047b1a2ba9ea5d3df77c8de9b4e2b3fd3a40a6d (diff) | |
download | fluxbox-cdd6861aff5cd06f84c9d23456b5a92b4202e423.zip fluxbox-cdd6861aff5cd06f84c9d23456b5a92b4202e423.tar.bz2 |
Support editing utf-8 text in TextBox
aka "Flüxbøx"
βµγ, pardon,
BUG: 720
Diffstat (limited to 'src/FbTk/EventManager.cc')
-rw-r--r-- | src/FbTk/EventManager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/EventManager.cc b/src/FbTk/EventManager.cc index b9d5e98..3df56de 100644 --- a/src/FbTk/EventManager.cc +++ b/src/FbTk/EventManager.cc | |||
@@ -161,7 +161,8 @@ void EventManager::dispatch(Window win, XEvent &ev, bool parent) { | |||
161 | 161 | ||
162 | switch (ev.type) { | 162 | switch (ev.type) { |
163 | case KeyPress: | 163 | case KeyPress: |
164 | evhand->keyPressEvent(ev.xkey); | 164 | if (!XFilterEvent(&ev, win)) |
165 | evhand->keyPressEvent(ev.xkey); | ||
165 | break; | 166 | break; |
166 | case KeyRelease: | 167 | case KeyRelease: |
167 | evhand->keyReleaseEvent(ev.xkey); | 168 | evhand->keyReleaseEvent(ev.xkey); |