aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-15 12:19:17 (GMT)
committerfluxgen <fluxgen>2002-11-15 12:19:17 (GMT)
commit59daed1cdc67a5f3b7706c0638d0195156ea3483 (patch)
treec673557e735fc9a2f316d323e21f6daa19ffb448
parenta2cf2805f252b015f39c72d3602fef8e8bbd366e (diff)
downloadfluxbox_paul-59daed1cdc67a5f3b7706c0638d0195156ea3483.zip
fluxbox_paul-59daed1cdc67a5f3b7706c0638d0195156ea3483.tar.bz2
referens on menu
-rw-r--r--src/fluxbox.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 8aac41b..dab52b9 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.80 2002/10/25 21:17:15 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.81 2002/11/15 12:19:17 fluxgen Exp $
26 26
27 27
28#include "fluxbox.hh" 28#include "fluxbox.hh"
@@ -2553,7 +2553,7 @@ void Fluxbox::setFocusedWindow(FluxboxWindow *win) {
2553 old_wkspc = old_screen->getWorkspace(old_win->getWorkspaceNumber()); 2553 old_wkspc = old_screen->getWorkspace(old_win->getWorkspaceNumber());
2554 2554
2555 old_win->setFocusFlag(False); 2555 old_win->setFocusFlag(False);
2556 old_wkspc->menu()->setItemSelected(old_win->getWindowNumber(), false); 2556 old_wkspc->menu().setItemSelected(old_win->getWindowNumber(), false);
2557 2557
2558 } 2558 }
2559 2559
@@ -2571,7 +2571,7 @@ void Fluxbox::setFocusedWindow(FluxboxWindow *win) {
2571 focused_window = win; // update focused window 2571 focused_window = win; // update focused window
2572 win->setFocusFlag(True); // set focus flag 2572 win->setFocusFlag(True); // set focus flag
2573 // select this window in workspace menu 2573 // select this window in workspace menu
2574 wkspc->menu()->setItemSelected(win->getWindowNumber(), true); 2574 wkspc->menu().setItemSelected(win->getWindowNumber(), true);
2575 } 2575 }
2576 } else 2576 } else
2577 focused_window = 0; 2577 focused_window = 0;