From 59daed1cdc67a5f3b7706c0638d0195156ea3483 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 15 Nov 2002 12:19:17 +0000 Subject: referens on menu --- src/fluxbox.cc | 6 +++--- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.80 2002/10/25 21:17:15 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.81 2002/11/15 12:19:17 fluxgen Exp $ #include "fluxbox.hh" @@ -2553,7 +2553,7 @@ void Fluxbox::setFocusedWindow(FluxboxWindow *win) { old_wkspc = old_screen->getWorkspace(old_win->getWorkspaceNumber()); old_win->setFocusFlag(False); - old_wkspc->menu()->setItemSelected(old_win->getWindowNumber(), false); + old_wkspc->menu().setItemSelected(old_win->getWindowNumber(), false); } @@ -2571,7 +2571,7 @@ void Fluxbox::setFocusedWindow(FluxboxWindow *win) { focused_window = win; // update focused window win->setFocusFlag(True); // set focus flag // select this window in workspace menu - wkspc->menu()->setItemSelected(win->getWindowNumber(), true); + wkspc->menu().setItemSelected(win->getWindowNumber(), true); } } else focused_window = 0; -- cgit v0.11.2