diff options
author | Mattias Andrée <maandree@kth.se> | 2023-07-21 18:02:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-07-21 18:02:10 +0200 |
commit | 6352abe75b9d4acb880399d507ad5a4733c880e0 (patch) | |
tree | 89b31c88230b0b32f0b218b24f0327233b29152a /src | |
parent | m (diff) | |
download | xpybar-1.20.2.tar.gz xpybar-1.20.2.tar.bz2 xpybar-1.20.2.tar.xz |
Fix {top,bottom}_end_x values for _NET_WM_STRUT_PARTIAL1.20.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | src/x.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') |