Skip to content

fixed scrollbar overwriting window borders on wayland#538

Open
WerIstLuka wants to merge 2 commits intolinuxmint:masterfrom
WerIstLuka:wayland-scrollbar
Open

fixed scrollbar overwriting window borders on wayland#538
WerIstLuka wants to merge 2 commits intolinuxmint:masterfrom
WerIstLuka:wayland-scrollbar

Conversation

@WerIstLuka
Copy link

the scrollbar overwrites the window border on wayland
creating a 1px transparent border around the scrollbar fixes it
Screenshot from 2026-02-27 23-02-36 Screenshot from 2026-02-27 23-06-58

mint-l has the same issue, i also made a pr there with the same change

i opened a wayland issue on this a while ago, fixed it for my theme and closed the issue but forgot to fix it for mint-y and mint-l linuxmint/wayland#156

@echuber2
Copy link

echuber2 commented Feb 27, 2026

I wonder if this fix is needed for other types of windows that might not have typical borders. Is there a way to generalize it without constraining it to the terminal style? What about adding padding (or maybe margin) around the scrollbar instead of an invisible border?

@WerIstLuka
Copy link
Author

i've been daily driving the wayland session for a while now and i havn't seen any other window with this issue

i fixed this issue a few weeks ago but forgot to make a pr so i have no idea why i chose to make an invisible border. margin or padding might also work but i just copied what i did with my theme to fix it

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

Successfully merging this pull request may close these issues.

2 participants