gandalfn / Cairo-Composite-Manager

Cairo Composite Manager is a versatile and extensible composite manager which use cairo for rendering.
http://cairo-compmgr.tuxfamily.org/
Other
28 stars 3 forks source link

XMonad border issues #1

Closed wasamasa closed 9 years ago

wasamasa commented 11 years ago

It seems like cairo-compmgr doesn't handle window borders correctly with XMonad in tiled mode. With a 1px border XMonad moves the window two pixels to the left and top in full-screen mode, with 2px borders it becomes four pixels. Turning borders off makes this issue disappear. Therefore I guess cairo-compmgr assumes windows have their borders drawn on the outside and occupy extra space. I've tried patching, but failed miserably, therefore I hand in this issue.

Here are some screenshots: 0px border, 1px border, 2px border, desired result.

I'm using the AUR package on Archlinux i686 and disabled all plugins to make sure they aren't affecting this. Any hints on how to fix this are appreciated.

wasamasa commented 9 years ago

I'm no longer using XMonad, closing.