minor fixes

This commit is contained in:
fluxgen 2003-09-08 19:18:22 +00:00
parent 9dadf682d6
commit 61f74b3957

View file

@ -19,16 +19,13 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: KeyUtil.cc,v 1.1 2003/09/06 15:46:00 fluxgen Exp $
// $Id: KeyUtil.cc,v 1.2 2003/09/08 19:18:22 fluxgen Exp $
#include "KeyUtil.hh"
#include "App.hh"
#include <X11/keysym.h>
#include <iostream>
using namespace std;
namespace FbTk {
int KeyUtil::s_capslock_mod = 0;
@ -37,7 +34,6 @@ int KeyUtil::s_scrolllock_mod = 0;
bool KeyUtil::s_init = false;
void KeyUtil::init() {
cerr<<"init"<<endl;
Display *disp = FbTk::App::instance()->display();
XModifierKeymap *modmap = XGetModifierMapping(disp);