diff options
author | rathnor <rathnor> | 2003-10-06 09:28:35 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-10-06 09:28:35 (GMT) |
commit | e5dd3d2e85b55931003583ede06fec57c2caaa95 (patch) | |
tree | 1872ba86ac77b703985df785a7e62afedb4f4e77 /src | |
parent | dda34421a3d586e6efd70a4a672266267dda7474 (diff) | |
download | fluxbox_pavel-e5dd3d2e85b55931003583ede06fec57c2caaa95.zip fluxbox_pavel-e5dd3d2e85b55931003583ede06fec57c2caaa95.tar.bz2 |
fix rendering of offscreen windows
Diffstat (limited to 'src')
-rw-r--r-- | src/FbWinFrame.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 5cfd751..09ce28e 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -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: FbWinFrame.cc,v 1.57 2003/10/05 09:03:43 rathnor Exp $ | 22 | // $Id: FbWinFrame.cc,v 1.58 2003/10/06 09:28:35 rathnor Exp $ |
23 | 23 | ||
24 | #include "FbWinFrame.hh" | 24 | #include "FbWinFrame.hh" |
25 | 25 | ||
@@ -665,8 +665,6 @@ void FbWinFrame::reconfigure() { | |||
665 | } | 665 | } |
666 | } | 666 | } |
667 | 667 | ||
668 | if (!m_visible) return; | ||
669 | |||
670 | // render the theme | 668 | // render the theme |
671 | renderButtons(); | 669 | renderButtons(); |
672 | if (!m_shaded) | 670 | if (!m_shaded) |
@@ -845,7 +843,7 @@ void FbWinFrame::renderTitlebar() { | |||
845 | 843 | ||
846 | 844 | ||
847 | void FbWinFrame::renderHandles() { | 845 | void FbWinFrame::renderHandles() { |
848 | if (!m_use_handle || !m_visible) | 846 | if (!m_use_handle) |
849 | return; | 847 | return; |
850 | 848 | ||
851 | render(m_theme.handleFocusTexture(), m_handle_focused_color, | 849 | render(m_theme.handleFocusTexture(), m_handle_focused_color, |
@@ -910,7 +908,6 @@ void FbWinFrame::renderHandles() { | |||
910 | } | 908 | } |
911 | 909 | ||
912 | void FbWinFrame::renderButtons() { | 910 | void FbWinFrame::renderButtons() { |
913 | if (!m_visible) return; | ||
914 | 911 | ||
915 | render(m_theme.buttonFocusTexture(), m_button_color, m_button_pm, | 912 | render(m_theme.buttonFocusTexture(), m_button_color, m_button_pm, |
916 | m_button_size, m_button_size); | 913 | m_button_size, m_button_size); |
@@ -1054,7 +1051,6 @@ void FbWinFrame::getUnfocusPixmap(Pixmap &label_pm, Pixmap &title_pm, | |||
1054 | } | 1051 | } |
1055 | 1052 | ||
1056 | void FbWinFrame::renderLabelButtons() { | 1053 | void FbWinFrame::renderLabelButtons() { |
1057 | if (!m_visible) return; | ||
1058 | Pixmap label_pm = 0; | 1054 | Pixmap label_pm = 0; |
1059 | Pixmap not_used_pm = 0; | 1055 | Pixmap not_used_pm = 0; |
1060 | FbTk::Color label_color; | 1056 | FbTk::Color label_color; |