From 2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84 Mon Sep 17 00:00:00 2001 From: rathnor Date: Mon, 22 Sep 2003 12:07:00 +0000 Subject: fix invisible minimize button --- ChangeLog | 3 +++ src/WinButton.cc | 4 ++-- 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 @@ (Format: Year/Month/Day) Changes for 0.9.6: +*03/09/22: + * Fix invisible minimize button for non-pixmap themes (Simon) + WinButton.cc *03/09/21: * Fix disappearing close button (Simon) 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -/// $Id: WinButton.cc,v 1.14 2003/09/14 17:34:47 fluxgen Exp $ +/// $Id: WinButton.cc,v 1.15 2003/09/22 12:07:00 rathnor Exp $ #include "WinButton.hh" #include "App.hh" @@ -118,7 +118,7 @@ void WinButton::drawType() { if (used) { FbTk::FbWindow::clear(); - } else if (gc() == 0) { // must have valid graphic context + } else if (gc() != 0) { // must have valid graphic context FbTk::FbWindow::drawRectangle(gc(), 2, height() - 5, width() - 5, 2); } -- cgit v0.11.2