Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal border causes black/transparent border on termite #49

Closed
palm-tree-i opened this issue May 26, 2018 · 4 comments
Closed

Internal border causes black/transparent border on termite #49

palm-tree-i opened this issue May 26, 2018 · 4 comments

Comments

@palm-tree-i
Copy link

palm-tree-i commented May 26, 2018

Not sure if other applications are affected but termite is.
Not using internal border causes no issue.

@tudurom
Copy link
Owner

tudurom commented Jun 25, 2018

Are you using compton?

@saucesaft
Copy link

Same issue here, im using compton. Btw i used 2bwm before and had the same issue, but @venam fixed it. I dont know how to solve it or which snippet is sufficient to solve it, but with the 2bwm example is clear that the problem is the window manager, not termite. Thanks!

@venam
Copy link

venam commented Nov 7, 2018

Hello @tudurom the way I solved it is by drawing the pixmap using the depth of the window client getting the borders and not the generic depth of the root window.

This is the relevant line in your code:

windowchef/wm.c

Line 1787 in fc61af7

xcb_create_pixmap(conn, scr->root_depth, pmap, scr->root,

Instead of drawing using a depth of scr->root_depth you have to draw using the depth of the client.

@tudurom tudurom closed this as completed in 45b027c Jan 3, 2019
@tudurom
Copy link
Owner

tudurom commented Jan 3, 2019

Thanks @venam for your help!

Sorry everyone for being so late.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants