diff options
author | markt <markt> | 2007-02-06 19:04:32 (GMT) |
---|---|---|
committer | markt <markt> | 2007-02-06 19:04:32 (GMT) |
commit | 07ea9ec4b4a2c1252c64dc34438c4bdeb5e3331b (patch) | |
tree | 70a13ec7275abf62999528295623ab2ddaee4d71 /src/Workspace.cc | |
parent | ebd2fa9a99846381f3ef61f8b186f2c7373c419b (diff) | |
download | fluxbox_pavel-07ea9ec4b4a2c1252c64dc34438c4bdeb5e3331b.zip fluxbox_pavel-07ea9ec4b4a2c1252c64dc34438c4bdeb5e3331b.tar.bz2 |
closing a window from the workspace menu should close the chosen client,
rather than the active tab in the same window
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index caeb662..4b367ac 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -102,7 +102,7 @@ public: | |||
102 | const FbTk::Menu *submenu() const { return &m_client.screen().windowMenu(); } | 102 | const FbTk::Menu *submenu() const { return &m_client.screen().windowMenu(); } |
103 | 103 | ||
104 | void showSubmenu() { | 104 | void showSubmenu() { |
105 | WindowCmd<void>::setWindow(m_client.fbwindow()); | 105 | WindowCmd<void>::setClient(&m_client); |
106 | FbTk::MenuItem::showSubmenu(); | 106 | FbTk::MenuItem::showSubmenu(); |
107 | } | 107 | } |
108 | 108 | ||