aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fbrun/FbRun.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc
index f2ebbac..92d8c02 100644
--- a/util/fbrun/FbRun.cc
+++ b/util/fbrun/FbRun.cc
@@ -19,13 +19,14 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbRun.cc,v 1.19 2003/08/27 14:04:12 fluxgen Exp $ 22// $Id: FbRun.cc,v 1.20 2003/09/06 15:50:25 fluxgen Exp $
23 23
24#include "FbRun.hh" 24#include "FbRun.hh"
25 25
26#include "App.hh" 26#include "App.hh"
27#include "EventManager.hh" 27#include "EventManager.hh"
28#include "Color.hh" 28#include "Color.hh"
29#include "KeyUtil.hh"
29 30
30#ifdef HAVE_CONFIG_H 31#ifdef HAVE_CONFIG_H
31#include "config.h" 32#include "config.h"
@@ -204,6 +205,10 @@ void FbRun::redrawLabel() {
204} 205}
205 206
206void FbRun::keyPressEvent(XKeyEvent &ke) { 207void FbRun::keyPressEvent(XKeyEvent &ke) {
208 // strip numlock and scrolllock mask
209 ke.state &= ~FbTk::KeyUtil::numlockMod();
210 ke.state &= ~FbTk::KeyUtil::scrolllockMod();
211
207 FbTk::TextBox::keyPressEvent(ke); 212 FbTk::TextBox::keyPressEvent(ke);
208 KeySym ks; 213 KeySym ks;
209 char keychar[1]; 214 char keychar[1];