diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-18 06:29:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-18 06:29:38 +0000 |
| commit | ec5ea27e53fb638052e5f13b63afcb476a6eef38 (patch) | |
| tree | 406364662c19666ddf4ddc1d2599d5194de3b46d /src/Window.cc | |
| parent | 3442c5ef1c5653246dde585e1cf39347daf581b9 (diff) | |
select the focused window in the workspace menu
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index a336eaeb..4c7a31d7 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -44,6 +44,7 @@ extern "C" { #include "i18n.hh" #include "blackbox.hh" +#include "Clientmenu.hh" #include "Font.hh" #include "GCCache.hh" #include "Iconmenu.hh" @@ -2039,6 +2040,9 @@ void BlackboxWindow::setFocusFlag(bool focus) { if (isFocused()) blackbox->setFocusedWindow(this); + + Clientmenu *menu = screen->getWorkspace(blackbox_attrib.workspace)->getMenu(); + menu->setItemSelected(window_number, isFocused()); } |
