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

Default Window Decoration on Linux (Wayland) #1747

Open
cameronbosch opened this issue Dec 5, 2024 · 2 comments
Open

Default Window Decoration on Linux (Wayland) #1747

cameronbosch opened this issue Dec 5, 2024 · 2 comments
Labels
feature request This is a request for the addition of some feature.

Comments

@cameronbosch
Copy link

Continuing the discussion on from #714 maybe you could implement something like the following:

  • You could check what desktop the user is running:
  • If it is GNOME or Pantheon (the latter is used on Elementary OS) on Wayland. use client side window decoration (with the window controls in the frame, because on GNOME, the core developers... Have been more than a bit ridiculous on not supporting the other solution. (This is what the Nuclear does by default right now.)
  • If the desktop is anything else, like KDE Plasma, COSMIC, or any other compositor on Wayland or X11, you could use server-side decoration on Linux by default. This gives a bit of a better feel to the app in my opinion on KDE Plasma.
    Obviously, this can be changed by the user, and it should remain as such; this would only concern the first run's defaults.
@cameronbosch cameronbosch added the feature request This is a request for the addition of some feature. label Dec 5, 2024
@nukeop
Copy link
Owner

nukeop commented Dec 11, 2024

In the 2nd case, do you mean decorations and frame rendered natively? You can do that by using the "frameless window" setting. Will that answer your need?

@cameronbosch
Copy link
Author

I meant detecting this for the user based on what desktop they are running by default. KDE seems to prefer server-side window decoration by default (but still supports client side) while GNOME support client-side decoration only on Wayland.

Of course, this is Just a request. You're free to do what you want with your project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This is a request for the addition of some feature.
Projects
None yet
Development

No branches or pull requests

2 participants