diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 65defc7..1886aa0 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.124 2003/04/28 13:34:38 rathnor Exp $ | 25 | // $Id: fluxbox.cc,v 1.125 2003/04/29 12:39:45 rathnor Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -2220,6 +2220,8 @@ void Fluxbox::timeout() { | |||
2220 | 2220 | ||
2221 | // set focused window | 2221 | // set focused window |
2222 | void Fluxbox::setFocusedWindow(FluxboxWindow *win) { | 2222 | void Fluxbox::setFocusedWindow(FluxboxWindow *win) { |
2223 | // already focused | ||
2224 | if (m_focused_window == win) return; | ||
2223 | BScreen *old_screen = 0, *screen = 0; | 2225 | BScreen *old_screen = 0, *screen = 0; |
2224 | FluxboxWindow *old_win = 0; | 2226 | FluxboxWindow *old_win = 0; |
2225 | Toolbar *old_tbar = 0, *tbar = 0; | 2227 | Toolbar *old_tbar = 0, *tbar = 0; |