diff options
Diffstat (limited to 'util/epist/screen.cc')
| -rw-r--r-- | util/epist/screen.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 416bb9bd..f0fb79ea 100644 --- 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(); } |
