aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/x.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x.py b/src/x.py
index 9b9e8d1..08515f9 100644
--- a/src/x.py
+++ b/src/x.py
@@ -148,8 +148,8 @@ def create_panel(width, height, left, ypos, panel_height, at_top):
colormap = Xlib.X.CopyFromParent,
override_redirect = get_override_redirect())
- top_ = lambda x, y, w, h : [0, 0, y + h, 0, 0, 0, 0, 0, x, x + w, 0, 0]
- bottom_ = lambda x, y, w, h : [0, 0, 0, y + h, 0, 0, 0, 0, 0, 0, x, x + w]
+ top_ = lambda x, y, w, h : [0, 0, y + h, 0, 0, 0, 0, 0, x, x + w - 1, 0, 0]
+ bottom_ = lambda x, y, w, h : [0, 0, 0, y + h, 0, 0, 0, 0, 0, 0, x, x + w - 1]
window.set_wm_name('xpybar')
window.set_wm_icon_name('xpybar')