aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/KeyUtil.hh
diff options
context:
space:
mode:
authorakir <akir>2004-10-08 11:51:16 (GMT)
committerakir <akir>2004-10-08 11:51:16 (GMT)
commit0fab25bfd29b657c5f92ad4e417d0719a960cb1e (patch)
treeebdff27091aaf728eeaf79be5e8d2bddb76edef0 /src/FbTk/KeyUtil.hh
parentfbbd335dce41891795cacbfea4ed8014adddf75d (diff)
downloadfluxbox-0fab25bfd29b657c5f92ad4e417d0719a960cb1e.zip
fluxbox-0fab25bfd29b657c5f92ad4e417d0719a960cb1e.tar.bz2
we dont remove the scrolllock() modifier from the keystate anymore -> lead to problems with altgr on german-keyboards -> no @ in textbox's possible.
Diffstat (limited to 'src/FbTk/KeyUtil.hh')
-rw-r--r--src/FbTk/KeyUtil.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/KeyUtil.hh b/src/FbTk/KeyUtil.hh
index c00d64d..d4f2ccd 100644
--- a/src/FbTk/KeyUtil.hh
+++ b/src/FbTk/KeyUtil.hh
@@ -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: KeyUtil.hh,v 1.7 2003/12/31 11:57:47 fluxgen Exp $ 22// $Id: KeyUtil.hh,v 1.8 2004/10/08 11:51:16 akir Exp $
23 23
24#ifndef FBTK_KEYUTIL_HH 24#ifndef FBTK_KEYUTIL_HH
25#define FBTK_KEYUTIL_HH 25#define FBTK_KEYUTIL_HH
@@ -67,7 +67,7 @@ public:
67 */ 67 */
68 unsigned int cleanMods(unsigned int mods) { 68 unsigned int cleanMods(unsigned int mods) {
69 //remove numlock, capslock and scrolllock 69 //remove numlock, capslock and scrolllock
70 return mods & ~(capslock() | numlock() | scrolllock()); 70 return mods & ~(capslock() | numlock() );
71 } 71 }
72 72
73 /** 73 /**