diff options
author | fluxgen <fluxgen> | 2004-02-20 09:07:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-02-20 09:07:27 (GMT) |
commit | 3c78d753c0c1b293d20ad52e38586929bf47f13e (patch) | |
tree | fc146deff9fe5ebb0afb51f9882f17f54a45336c /src/IconbarTool.cc | |
parent | 1e405808fb3cba1b19d6af9697312a6f4d8ec3ba (diff) | |
download | fluxbox_pavel-3c78d753c0c1b293d20ad52e38586929bf47f13e.zip fluxbox_pavel-3c78d753c0c1b293d20ad52e38586929bf47f13e.tar.bz2 |
fixed focus issues with remember hidden, patch from Mathias Gumz
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index d1292c4..16b51e9 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: IconbarTool.cc,v 1.33 2004/02/16 10:26:03 fluxgen Exp $ | 23 | // $Id: IconbarTool.cc,v 1.34 2004/02/20 09:05:24 fluxgen Exp $ |
24 | 24 | ||
25 | #include "IconbarTool.hh" | 25 | #include "IconbarTool.hh" |
26 | 26 | ||
@@ -211,7 +211,7 @@ inline bool checkAddWindow(IconbarTool::Mode mode, const FluxboxWindow &win) { | |||
211 | break; | 211 | break; |
212 | } | 212 | } |
213 | 213 | ||
214 | if (win.isHidden()) | 214 | if (win.isIconHidden()) |
215 | ret_val = false; | 215 | ret_val = false; |
216 | 216 | ||
217 | return ret_val; | 217 | return ret_val; |
@@ -682,7 +682,7 @@ void IconbarTool::removeWindow(FluxboxWindow &win) { | |||
682 | 682 | ||
683 | void IconbarTool::addWindow(FluxboxWindow &win) { | 683 | void IconbarTool::addWindow(FluxboxWindow &win) { |
684 | // we just want windows that has clients | 684 | // we just want windows that has clients |
685 | if (win.clientList().empty() || win.isHidden() ) | 685 | if (win.clientList().empty() || win.isIconHidden() ) |
686 | return; | 686 | return; |
687 | 687 | ||
688 | IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win); | 688 | IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win); |