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

Gaps around GTK apps, Firefox, and other apps that have client-side decorations #3

Closed
puyoxyz opened this issue May 9, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@puyoxyz
Copy link

puyoxyz commented May 9, 2022

There are huge gaps around anything that has client side decorations because of the shadow:

image

For Firefox, you can just disable its client side decorations ("Title bar" option at the bottom of the customize screen), but what about GTK?

@leukipp
Copy link
Owner

leukipp commented May 9, 2022

AFAIK there is no way to obtain the margin values caused by client side decorations (using the EWMH protocol).
Therefore cortile is not aware of any additional layout changes, that may lead to those gaps.

Depending on your operating system and window manager settings (theme, border, shadow, ...) you can search for
Disable GTK3 Client-Side Decorations. However, this could cause minor cosmetic damage to your desired appearance of windows.

For default Xfce desktop environments create a file /home/USER/.config/gtk-3.0/gtk.css with the content:

decoration {
    margin: 0px;
    padding: 0px;
    border: none;
    box-shadow: none;
}

This will disable most of the client-side decorations that might cause this problem.

Let me know if you have found a solution to your particular problem.

@leukipp leukipp self-assigned this May 9, 2022
@leukipp leukipp added the question Further information is requested label May 9, 2022
@leukipp leukipp added the enhancement New feature or request label Nov 28, 2022
@leukipp
Copy link
Owner

leukipp commented Apr 17, 2023

This was solved with the suggestions from mark-cooke (#5).
Please have a look at the latest release and let me know if you find any further issues.

@leukipp leukipp closed this as completed Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants