86
88
XFreeModifiermap(m_modmap);
88
90
m_modmap = XGetModifierMapping(App::instance()->display());
90
92
// find modifiers and set them
91
93
for (int i=0, realkey=0; i<8; ++i) {
92
94
for (int key=0; key<m_modmap->max_keypermod; ++key, ++realkey) {