projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da8d6b3
)
dont use what could be an invalid iterator
author
Dana Jansens
<danakj@orodu.net>
Mon, 26 Aug 2002 21:29:20 +0000
(21:29 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 26 Aug 2002 21:29:20 +0000
(21:29 +0000)
util/epist/screen.cc
patch
|
blob
|
history
diff --git
a/util/epist/screen.cc
b/util/epist/screen.cc
index
416bb9b
..
f0fb79e
100644
(file)
--- a/
util/epist/screen.cc
+++ b/
util/epist/screen.cc
@@
-546,8
+546,9
@@
void screen::updateActiveWindow() {
* cycle stack.
*/
if (_stacked_cycling && !_cycling) {
- _clients.remove(*_active);
- _clients.push_front(*_active);
+ XWindow *win = *_active;
+ _clients.remove(win);
+ _clients.push_front(win);
_active = _clients.begin();
}