diff options
author | fluxgen <fluxgen> | 2002-09-03 10:55:02 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-09-03 10:55:02 (GMT) |
commit | 1941bfd9e5f12be9954c61592fbc63cb77d21f44 (patch) | |
tree | 44b5399e6a3be299da05fd512bddf442a3a77b9d /util | |
parent | 7c4e89c92d63dcd688b580f55662fb89622c90ac (diff) | |
download | fluxbox_lack-1941bfd9e5f12be9954c61592fbc63cb77d21f44.zip fluxbox_lack-1941bfd9e5f12be9954c61592fbc63cb77d21f44.tar.bz2 |
minor bevel issues
Diffstat (limited to 'util')
-rw-r--r-- | util/fbrun/FbRun.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc index b023a56..2adde5f 100644 --- a/util/fbrun/FbRun.cc +++ b/util/fbrun/FbRun.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: FbRun.cc,v 1.1 2002/08/20 02:04:34 fluxgen Exp $ | 22 | // $Id: FbRun.cc,v 1.2 2002/09/03 10:55:02 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbRun.hh" | 24 | #include "FbRun.hh" |
25 | 25 | ||
@@ -40,7 +40,7 @@ m_bevel(4), | |||
40 | m_gc(None), | 40 | m_gc(None), |
41 | m_end(false) { | 41 | m_end(false) { |
42 | 42 | ||
43 | createWindow(x, y, width, m_font.height() + m_bevel); | 43 | createWindow(x, y, width + m_bevel, m_font.height()); |
44 | // create GC | 44 | // create GC |
45 | XGCValues gcv; | 45 | XGCValues gcv; |
46 | 46 | ||
@@ -110,7 +110,7 @@ void FbRun::move(int x, int y) { | |||
110 | 110 | ||
111 | void FbRun::resize(size_t width, size_t height) { | 111 | void FbRun::resize(size_t width, size_t height) { |
112 | assert(m_win); | 112 | assert(m_win); |
113 | XResizeWindow(m_display, m_win, width, height + m_bevel); | 113 | XResizeWindow(m_display, m_win, width, height); |
114 | m_width = width; | 114 | m_width = width; |
115 | m_height = height + m_bevel; | 115 | m_height = height + m_bevel; |
116 | setNoMaximize(); | 116 | setNoMaximize(); |
@@ -130,7 +130,7 @@ void FbRun::redrawLabel() { | |||
130 | assert(m_win); | 130 | assert(m_win); |
131 | 131 | ||
132 | XClearWindow(m_display, m_win); | 132 | XClearWindow(m_display, m_win); |
133 | drawString(0, m_height - m_bevel/2, | 133 | drawString(m_bevel/2, m_height - m_bevel/2, |
134 | m_runtext.c_str(), m_runtext.size()); | 134 | m_runtext.c_str(), m_runtext.size()); |
135 | 135 | ||
136 | } | 136 | } |