aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-24 15:02:39 (GMT)
committerfluxgen <fluxgen>2003-06-24 15:02:39 (GMT)
commit976f78576bb17a45719b5c657f695361c6991ddd (patch)
treef8bb3b693584d7a15b5e6079165864d5c5f703ef /src
parentf7bd41a157349a4488bc3bb1efeae1b44ddd6267 (diff)
downloadfluxbox_pavel-976f78576bb17a45719b5c657f695361c6991ddd.zip
fluxbox_pavel-976f78576bb17a45719b5c657f695361c6991ddd.tar.bz2
removed window number
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index d999871..6920fac 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.160 2003/06/23 13:35:45 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.161 2003/06/24 15:02:39 fluxgen Exp $
26 26
27#include "fluxbox.hh" 27#include "fluxbox.hh"
28 28
@@ -2329,7 +2329,6 @@ void Fluxbox::setFocusedWindow(FluxboxWindow *win) {
2329 old_wkspc = old_screen->getWorkspace(old_win->workspaceNumber()); 2329 old_wkspc = old_screen->getWorkspace(old_win->workspaceNumber());
2330 2330
2331 old_win->setFocusFlag(false); 2331 old_win->setFocusFlag(false);
2332 old_wkspc->menu().setItemSelected(old_win->windowNumber(), false);
2333 } 2332 }
2334 } 2333 }
2335 2334
@@ -2346,9 +2345,6 @@ void Fluxbox::setFocusedWindow(FluxboxWindow *win) {
2346 wkspc = screen->getWorkspace(win->workspaceNumber()); 2345 wkspc = screen->getWorkspace(win->workspaceNumber());
2347 m_focused_window = win; // update focused window 2346 m_focused_window = win; // update focused window
2348 win->setFocusFlag(true); // set focus flag 2347 win->setFocusFlag(true); // set focus flag
2349 // select this window in workspace menu
2350 if (wkspc != 0)
2351 wkspc->menu().setItemSelected(win->windowNumber(), true);
2352 } 2348 }
2353 } else 2349 } else
2354 m_focused_window = 0; 2350 m_focused_window = 0;