-
Notifications
You must be signed in to change notification settings - Fork 36
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
util: Blacklist some session-specific variables #141
Conversation
Thanks, this looks good to me. While you're here you might also want to sync up with later changes to the corresponding file in gnome-session, which fixes various bugs related to this code:
Those all seem like good fixes to have. |
Yeah, to be fair it's been a while since we've checked upstream for anything that may be useful for -session. Thanks @smcv :) |
I'd love to implement GNOME/gnome-session@b7b24627 but we aren't sure what the idea with Wayland is.. I was asked if we would follow the proper XDG_DECORATION in muffin and stuff. Does any of the devs know what we want to do with Wayland or are we sticking with Xorg? |
GNOME can be run in either X11-only or Wayland mode (they appear as separate session types in gdm), and its handling of those environment variables is the same for both modes - so I expect that Cinnamon should probably do the same, regardless of whether Cinnamon is permanently X11-only, currently X11-only with plans to adopt Wayland in future (similar to old GNOME versions), or already supports Wayland (similar to current GNOME). In an X11-only session, if a previous session (maybe GNOME or another desktop) has pushed |
If Cinnamon/muffin becomes a Wayland compositor in future, then it's up to the compositor developers whether it prefers client-side decoration (like Weston and mutter), server-side decoration (like traditional X11), or some combination of the two. I don't think getting the environment variable handling right has any impact on that decision. |
Implemented the commits above in leigh123linux#1 except for GNOME/gnome-session@60e619b8 because we need to add a few more commits to catch up to it. |
@ItzSwirlz please open a new pr for that other stuff. Also please be sure all of that even applies to us. |
Based on: GNOME/gnome-session@646b9bc
GNOME/gnome-session@9d8b0709
Fixes #140