diff options
author | rathnor <rathnor> | 2003-09-22 12:07:00 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-09-22 12:07:00 (GMT) |
commit | 2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84 (patch) | |
tree | 3e1a2ba65d5c100e4a19656f93073a47053fbee3 | |
parent | 139b501112306c74f62102aa7f41b15a19f1c2d4 (diff) | |
download | fluxbox_lack-2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84.zip fluxbox_lack-2f2e2185c35ff14a0fd9f5ba7b22c5d68cfd1c84.tar.bz2 |
fix invisible minimize button
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/WinButton.cc | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.6: | 2 | Changes 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 | } |