aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-10-06 09:28:35 (GMT)
committerrathnor <rathnor>2003-10-06 09:28:35 (GMT)
commite5dd3d2e85b55931003583ede06fec57c2caaa95 (patch)
tree1872ba86ac77b703985df785a7e62afedb4f4e77
parentdda34421a3d586e6efd70a4a672266267dda7474 (diff)
downloadfluxbox-e5dd3d2e85b55931003583ede06fec57c2caaa95.zip
fluxbox-e5dd3d2e85b55931003583ede06fec57c2caaa95.tar.bz2
fix rendering of offscreen windows
-rw-r--r--ChangeLog2
-rw-r--r--src/FbWinFrame.cc8
2 files changed, 4 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 60b293b..eaa24fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.6: 2Changes for 0.9.6:
3*03/10/06: 3*03/10/06:
4 * Fix rendering of offscreen windows (remove if !visible tests) (Simon)
5 FbWinFrame.cc
4 * Fix shaped windows+menus (Simon) 6 * Fix shaped windows+menus (Simon)
5 - make sure all existing menus use shape 7 - make sure all existing menus use shape
6 - fix Shape itself, particularly to work properly with borders 8 - fix Shape itself, particularly to work properly with borders
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
847void FbWinFrame::renderHandles() { 845void 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
912void FbWinFrame::renderButtons() { 910void 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
1056void FbWinFrame::renderLabelButtons() { 1053void 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;