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

obsidian: enable wayland flag if NIXOS_OZONE_WL is set #196992

Merged
merged 1 commit into from Dec 5, 2022

Conversation

edrex
Copy link
Contributor

@edrex edrex commented Oct 20, 2022

Description of changes

Added conditional flag similar to other electron apps (sigh). Not sure if --enable-features=WaylandWindowDecorations is applicable to Obsidian, but it doesn't seem to have an effect on sway. Possibly it is desirable in Gnome or KDE, but I suspect obsidian doesn't need it since it has inline decorations.

Still not switching DPI correctly on mixed-DPI setups, but it's not worse than with X11

Things done
  • Built on platform(s)
    • x86_64-linux
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)

@AtilaSaraiva
Copy link
Contributor

I can't test the compilation right now, but the change makes sense, thx!

Copy link
Contributor

@fufexan fufexan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@zhaofengli zhaofengli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested to work on Sway.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/707

@SuperSandro2000 SuperSandro2000 merged commit da72421 into NixOS:master Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants