diff options
author | rathnor <rathnor> | 2003-05-07 12:16:09 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-05-07 12:16:09 (GMT) |
commit | 31c77912d83144f265bc9842c09f89f0e8dc99ac (patch) | |
tree | cbec50651ac8714688052e96c02efd2ff987646c /src | |
parent | 10211d5fec411f369e6c3af135438054e7e9621f (diff) | |
download | fluxbox_lack-31c77912d83144f265bc9842c09f89f0e8dc99ac.zip fluxbox_lack-31c77912d83144f265bc9842c09f89f0e8dc99ac.tar.bz2 |
fix alignment of unstuck default pixmap
Diffstat (limited to 'src')
-rw-r--r-- | src/WinButton.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc index 17ad179..32e51ff 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.5 2003/05/06 23:58:08 fluxgen Exp $ | 22 | /// $Id: WinButton.cc,v 1.6 2003/05/07 12:16:09 rathnor Exp $ |
23 | 23 | ||
24 | #include "WinButton.hh" | 24 | #include "WinButton.hh" |
25 | #include "App.hh" | 25 | #include "App.hh" |
@@ -207,7 +207,7 @@ void WinButton::drawType() { | |||
207 | if (gc() == 0) // must have valid graphic context | 207 | if (gc() == 0) // must have valid graphic context |
208 | return; | 208 | return; |
209 | window().fillRectangle(gc(), | 209 | window().fillRectangle(gc(), |
210 | width()/2, height()/2, | 210 | width()/2 - width()/10, height()/2 - height()/10, |
211 | width()/5, height()/5); | 211 | width()/5, height()/5); |
212 | } | 212 | } |
213 | } | 213 | } |