aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextBox.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-10-05 07:20:47 (GMT)
committerrathnor <rathnor>2003-10-05 07:20:47 (GMT)
commit6984eb8970b61c0a6bcacba301707807d47d9b42 (patch)
tree2ca7c64b11b3be6b61cb186463b3aef84c8e448e /src/FbTk/TextBox.cc
parentc516aa13a134ff311a1ce56976c030ba016bcfda (diff)
downloadfluxbox_pavel-6984eb8970b61c0a6bcacba301707807d47d9b42.zip
fluxbox_pavel-6984eb8970b61c0a6bcacba301707807d47d9b42.tar.bz2
shuffle bunch of stuff from Keys into FbTk/KeyUtil
Diffstat (limited to 'src/FbTk/TextBox.cc')
-rw-r--r--src/FbTk/TextBox.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc
index 01451e4..519b56e 100644
--- a/src/FbTk/TextBox.cc
+++ b/src/FbTk/TextBox.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: TextBox.cc,v 1.2 2003/09/08 21:26:19 fluxgen Exp $ 22// $Id: TextBox.cc,v 1.3 2003/10/05 07:20:47 rathnor Exp $
23 23
24#include "TextBox.hh" 24#include "TextBox.hh"
25#include "Font.hh" 25#include "Font.hh"
@@ -185,8 +185,7 @@ void TextBox::buttonPressEvent(XButtonEvent &event) {
185 185
186void TextBox::keyPressEvent(XKeyEvent &event) { 186void TextBox::keyPressEvent(XKeyEvent &event) {
187 // strip numlock and scrolllock mask 187 // strip numlock and scrolllock mask
188 event.state &= ~FbTk::KeyUtil::numlockMod(); 188 event.state = KeyUtil::cleanMods(event.state);
189 event.state &= ~FbTk::KeyUtil::scrolllockMod();
190 189
191 KeySym ks; 190 KeySym ks;
192 char keychar[1]; 191 char keychar[1];