diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-19 22:35:46 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-19 22:35:46 +0000 |
| commit | 1ed841ef2a92dbe7d2b6f279967d42f6fc044580 (patch) | |
| tree | 4572ce3be1d39a5043700030a6620726d07d7086 /util | |
| parent | 8cfa247c3fd0dde18ea5cda42f8e319f01545fd6 (diff) | |
make both for's work teh same way
Diffstat (limited to 'util')
| -rw-r--r-- | util/epist/epist.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/epist/epist.cc b/util/epist/epist.cc index 25f7e62a..a9d01792 100644 --- a/util/epist/epist.cc +++ b/util/epist/epist.cc @@ -102,10 +102,9 @@ void epist::activateGrabs() { 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); } |
