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

Request: Disable CSD on Wayland #28

Open
9ary opened this issue Dec 29, 2019 · 6 comments
Open

Request: Disable CSD on Wayland #28

9ary opened this issue Dec 29, 2019 · 6 comments
Labels
help wanted Any C programmers out there? patch feature request A "nice to have" patch to complement the classic experience

Comments

@9ary
Copy link

9ary commented Dec 29, 2019

This patchset intentionally leaves CSD enabled on Wayland, because with GNOME, you can't really get away without it. However, on e.g. sway, you should be able to disable it safely.
I've attempted to do that, but it doesn't seem to work as intended.
File picker windows lose their shadow, and swaymsg -t get_tree does not report them as CSD windows anymore, but the window layout stays the same, with the CSD top bar instead of having the buttons at the bottom. On X11, CSD is still disabled properly.

It'd be nice to get better support for this use case.

@acutbal
Copy link

acutbal commented Dec 25, 2020

Yes, it would be nice also to get this feature for kwin/Plasma.
😄

@lah7 lah7 added help wanted Any C programmers out there? patch feature request A "nice to have" patch to complement the classic experience labels Mar 21, 2021
@RobinBoers
Copy link

RobinBoers commented Oct 11, 2021

I tried to disable CSD in my fork. I compiled and it seems to be working, but I think I broke some other things now, because the window controls are back in Xorg and Seahorse looks different. With the package from the AUR it looks like this:

2021-10-11-175234_342x511_scrot

And with my version it looks like this:

2021-10-11-175151_805x870_scrot

I have no idea how C works, and I just removed the if statement that said X11, so I have no clue why the window controls are back or why seahorse looks differently.

Edit: the file dialog mentioned in the first comment seems to behave how it is supposed to now.

Edit2: the file dialog works in all applications on my system exept the widget factory

@lah7 lah7 changed the title Disable CSD on Wayland Request: Disable CSD on Wayland Dec 24, 2021
@emmatebibyte
Copy link

This works to disable csd on plasma wayland for me:
https://github.com/ZaWertun/gtk3-nocsd

@rkunschke
Copy link

This works to disable csd on plasma wayland for me: https://github.com/ZaWertun/gtk3-nocsd

gtk3-nocsd is not longer developed and has several problems.

@emmatebibyte
Copy link

This works to disable csd on plasma wayland for me: https://github.com/ZaWertun/gtk3-nocsd

gtk3-nocsd is not longer developed and has several problems.

right, but I was wondering/hoping gtk3-csd could lead to some insight if it hasn't already

@Ph42oN
Copy link

Ph42oN commented Oct 6, 2022

I would like to see this too, worst part is file chooser dialog where cancel and ok buttons are at the top instead of bottom like its on xorg or xwayland. I tried gtk3-nocsd, and while it does disable CSD, cancel and ok buttons stay at top. Currently only solution i found is to run gtk apps with GDK_BACKEND=x11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Any C programmers out there? patch feature request A "nice to have" patch to complement the classic experience
Projects
None yet
Development

No branches or pull requests

7 participants