aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-09-22 12:07:00 (GMT)
committerrathnor <rathnor>2003-09-22 12:07:00 (GMT)
commit2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84 (patch)
tree3e1a2ba65d5c100e4a19656f93073a47053fbee3
parent139b501112306c74f62102aa7f41b15a19f1c2d4 (diff)
downloadfluxbox_pavel-2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84.zip
fluxbox_pavel-2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84.tar.bz2
fix invisible minimize button
-rw-r--r--ChangeLog3
-rw-r--r--src/WinButton.cc4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a68091..07a1131 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.6: 2Changes for 0.9.6:
3*03/09/22:
4 * Fix invisible minimize button for non-pixmap themes (Simon)
5 WinButton.cc
3*03/09/21: 6*03/09/21:
4 * Fix disappearing close button (Simon) 7 * Fix disappearing close button (Simon)
5 WinClient.hh/cc 8 WinClient.hh/cc
diff --git a/src/WinButton.cc b/src/WinButton.cc
index e33b447..48ce31c 100644
--- a/src/WinButton.cc
+++ b/src/WinButton.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: WinButton.cc,v 1.14 2003/09/14 17:34:47 fluxgen Exp $ 22/// $Id: WinButton.cc,v 1.15 2003/09/22 12:07:00 rathnor Exp $
23 23
24#include "WinButton.hh" 24#include "WinButton.hh"
25#include "App.hh" 25#include "App.hh"
@@ -118,7 +118,7 @@ void WinButton::drawType() {
118 118
119 if (used) { 119 if (used) {
120 FbTk::FbWindow::clear(); 120 FbTk::FbWindow::clear();
121 } else if (gc() == 0) { // must have valid graphic context 121 } else if (gc() != 0) { // must have valid graphic context
122 FbTk::FbWindow::drawRectangle(gc(), 122 FbTk::FbWindow::drawRectangle(gc(),
123 2, height() - 5, width() - 5, 2); 123 2, height() - 5, width() - 5, 2);
124 } 124 }