diff options
author | fluxgen <fluxgen> | 2003-06-24 15:02:39 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-24 15:02:39 (GMT) |
commit | 976f78576bb17a45719b5c657f695361c6991ddd (patch) | |
tree | f8bb3b693584d7a15b5e6079165864d5c5f703ef /src/fluxbox.cc | |
parent | f7bd41a157349a4488bc3bb1efeae1b44ddd6267 (diff) | |
download | fluxbox-976f78576bb17a45719b5c657f695361c6991ddd.zip fluxbox-976f78576bb17a45719b5c657f695361c6991ddd.tar.bz2 |
removed window number
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 6 |
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; |