we dont remove the scrolllock() modifier from the keystate anymore -> lead to problems with altgr on german-keyboards -> no @ in textbox's possible.

This commit is contained in:
akir 2004-10-08 11:51:16 +00:00
parent fbbd335dce
commit 0fab25bfd2

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: KeyUtil.hh,v 1.7 2003/12/31 11:57:47 fluxgen Exp $
// $Id: KeyUtil.hh,v 1.8 2004/10/08 11:51:16 akir Exp $
#ifndef FBTK_KEYUTIL_HH
#define FBTK_KEYUTIL_HH
@ -67,7 +67,7 @@ public:
*/
unsigned int cleanMods(unsigned int mods) {
//remove numlock, capslock and scrolllock
return mods & ~(capslock() | numlock() | scrolllock());
return mods & ~(capslock() | numlock() );
}
/**