projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3442c5e
)
select the focused window in the workspace menu
author
Dana Jansens
<danakj@orodu.net>
Thu, 18 Jul 2002 06:29:38 +0000
(06:29 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 18 Jul 2002 06:29:38 +0000
(06:29 +0000)
src/Window.cc
patch
|
blob
|
history
diff --git
a/src/Window.cc
b/src/Window.cc
index a336eaeb4e9a1511c207aa4c825a49904fb7f67f..4c7a31d76d9536751908b498a34af527875a1a84 100644
(file)
--- 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());
}