aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.cc
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 /src/WinButton.cc
parent139b501112306c74f62102aa7f41b15a19f1c2d4 (diff)
downloadfluxbox-2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84.zip
fluxbox-2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84.tar.bz2
fix invisible minimize button
Diffstat (limited to 'src/WinButton.cc')
-rw-r--r--src/WinButton.cc4
1 files changed, 2 insertions, 2 deletions
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 }