diff options
author | fluxgen <fluxgen> | 2002-04-28 08:49:31 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-28 08:49:31 (GMT) |
commit | bd878465b9d26368e2f7bd014b1fce59bc5fdcd2 (patch) | |
tree | 4be4404f80481ed78c786f6f6a2ea2e0210f5576 | |
parent | 2f19847b98f8c29ae2209aae020eafe17e98bc51 (diff) | |
download | fluxbox-bd878465b9d26368e2f7bd014b1fce59bc5fdcd2.zip fluxbox-bd878465b9d26368e2f7bd014b1fce59bc5fdcd2.tar.bz2 |
fixed shade bug while no tabs and rotated
-rw-r--r-- | src/Tab.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Tab.cc,v 1.24 2002/04/14 22:27:57 fluxgen Exp $ | 22 | // $Id: Tab.cc,v 1.25 2002/04/28 08:49:31 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Tab.hh" | 24 | #include "Tab.hh" |
25 | 25 | ||
@@ -63,7 +63,8 @@ Tab::Tab(FluxboxWindow *win, Tab *prev, Tab *next) { | |||
63 | 63 | ||
64 | if ((m_win->getScreen()->getTabPlacement() == PLEFT || | 64 | if ((m_win->getScreen()->getTabPlacement() == PLEFT || |
65 | m_win->getScreen()->getTabPlacement() == PRIGHT) && | 65 | m_win->getScreen()->getTabPlacement() == PRIGHT) && |
66 | m_win->getScreen()->isTabRotateVertical()) { | 66 | m_win->getScreen()->isTabRotateVertical() && |
67 | !m_win->isShaded()) { | ||
67 | m_size_w = m_win->getScreen()->getTabHeight(); | 68 | m_size_w = m_win->getScreen()->getTabHeight(); |
68 | m_size_h = m_win->getScreen()->getTabWidth(); | 69 | m_size_h = m_win->getScreen()->getTabWidth(); |
69 | } else { | 70 | } else { |