diff options
Diffstat (limited to 'util/fbrun')
-rw-r--r-- | util/fbrun/FbRun.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc index 51298fa..5a05cec 100644 --- a/util/fbrun/FbRun.cc +++ b/util/fbrun/FbRun.cc | |||
@@ -19,7 +19,7 @@ | |||
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.21 2003/09/16 14:49:49 rathnor Exp $ | 22 | // $Id: FbRun.cc,v 1.22 2003/09/16 16:10:32 rathnor Exp $ |
23 | 23 | ||
24 | #include "FbRun.hh" | 24 | #include "FbRun.hh" |
25 | 25 | ||
@@ -205,9 +205,8 @@ void FbRun::redrawLabel() { | |||
205 | } | 205 | } |
206 | 206 | ||
207 | void FbRun::keyPressEvent(XKeyEvent &ke) { | 207 | void FbRun::keyPressEvent(XKeyEvent &ke) { |
208 | // strip numlock and scrolllock mask | 208 | // strip numlock, capslock and scrolllock mask |
209 | ke.state &= ~FbTk::KeyUtil::numlockMod(); | 209 | ke.state = FbTk::KeyUtil::cleanMods(ke.state); |
210 | ke.state &= ~FbTk::KeyUtil::scrolllockMod(); | ||
211 | 210 | ||
212 | FbTk::TextBox::keyPressEvent(ke); | 211 | FbTk::TextBox::keyPressEvent(ke); |
213 | KeySym ks; | 212 | KeySym ks; |