// -*- mode: C++; indent-tabs-mode: nil; -*-
-// epist.cc for Epistory - a key handler for NETWM/EWMH window managers.
+// epist.cc for Epistophy - a key handler for NETWM/EWMH window managers.
// Copyright (c) 2002 - 2002 Ben Jansens <ben at orodu.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a
delete _xatom;
}
+
// XGrabKey(_epist->getXDisplay(), XKeysymToKeycode(_epist->getXDisplay(),
// XStringToKeysym("F5")),
// Mod1Mask, _root, True, GrabModeAsync, GrabModeAsync);
ScreenList::const_iterator scrit, scrend = _screens.end();
for (scrit = _screens.begin(); scrit != scrend; ++scrit) {
- ActionList::const_iterator end = _actions.end();
+ ActionList::const_iterator ait, end = _actions.end();
- for(ActionList::const_iterator ait = _actions.begin();
- ait != end; ++ait) {
+ for(ait = _actions.begin(); ait != end; ++ait) {
XGrabKey(getXDisplay(), ait->keycode(), ait->modifierMask(),
(*scrit)->rootWindow(), True, GrabModeAsync, GrabModeAsync);
}
}
}
+
+
bool epist::handleSignal(int sig) {
switch (sig) {
case SIGHUP: