Hi,

awful.wibox.align() in 3.4.x gets the available screen area from
capi.screen[screen].geometry.

this can easily result in overlapping wiboxes since the work area
provided does not account for existing wiboxes.

In my configuration I use a vertical wibox positioned at the 
right and it half-overlaps my top wibox because it is streched and 
hard-coded to align at the middle.

switching the above to
capi.screen[screen].workarea (thanks to bioe...@oftc)
fixes the issue.

hopefully it won't break something else!

really simple patch that applies to 3.4.3 attached.

thanks :)
-- 
Alex Alexander :: wired
Gentoo Developer
www.linuxized.com
--- lib/awful/wibox.lua.in.old  2010-01-04 23:19:27.286739420 +0200
+++ lib/awful/wibox.lua.in      2010-01-04 23:58:21.813728732 +0200
@@ -144,7 +144,7 @@
 function align(wibox, align, screen)
     local position = get_position(wibox)
     local screen = screen or wibox.screen or 1
-    local area = capi.screen[screen].geometry
+    local area = capi.screen[screen].workarea
 
     if position == "right" then
         if align == "right" then

Attachment: pgp1chIqqOaCv.pgp
Description: PGP signature

Reply via email to