Repository navigation
fix: blur the translucent window on KDE Plasma 6.8 and newer KWin #745
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
Closed
+16,425
−3
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Vendored crates | ||
|
|
||
| ## gpui-pre-linux | ||
|
|
||
| `gpui-pre-linux` 0.3.6 from crates.io, Zed's `gpui_linux` crate at | ||
| zed-industries/zed@bcf6582ce3500df93a8a39366640173e6786cea6. It replaces the | ||
| registry crate through `[patch.crates-io]` in the workspace `Cargo.toml` and | ||
| is excluded from the workspace, so it keeps its upstream layout. | ||
|
|
||
| The first commit adding it is a byte-for-byte copy of the published crate | ||
| (without the registry's `Cargo.toml.orig` and `.cargo-ok`). Later commits carry | ||
| only fixes that are also proposed upstream to Zed; drop the vendored copy once | ||
| a `gpui-pre` release includes them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,307 @@ | ||
| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| # | ||
| # When uploading crates to the registry Cargo will automatically | ||
| # "normalize" Cargo.toml files for maximal compatibility | ||
| # with all versions of Cargo and also rewrite `path` dependencies | ||
| # to registry (e.g., crates.io) dependencies. | ||
| # | ||
| # If you are reading this file be aware that the original Cargo.toml | ||
| # will likely look very different (and much more reasonable). | ||
| # See Cargo.toml.orig for the original contents. | ||
|
|
||
| [package] | ||
| edition = "2024" | ||
| name = "gpui-pre-linux" | ||
| version = "0.3.6" | ||
| build = false | ||
| publish = true | ||
| autolib = false | ||
| autobins = false | ||
| autoexamples = false | ||
| autotests = false | ||
| autobenches = false | ||
| description = "Zed's `gpui_linux` crate (gpui-pre snapshot of zed@bcf6582)" | ||
| readme = false | ||
| license = "Apache-2.0" | ||
| repository = "https://github.com/zed-industries/zed" | ||
| resolver = "2" | ||
|
|
||
| [package.metadata.cargo-shear] | ||
| ignored = [ | ||
| "bitflags", | ||
| "scap", | ||
| "x11-clipboard", | ||
| ] | ||
|
|
||
| [package.metadata.gpui-pre] | ||
| zed-crate = "gpui_linux" | ||
| zed-version = "0.1.0" | ||
| zed-rev = "bcf6582ce3500df93a8a39366640173e6786cea6" | ||
|
|
||
| [features] | ||
| default = [ | ||
| "wayland", | ||
| "x11", | ||
| ] | ||
| screen-capture = [ | ||
| "gpui/screen-capture", | ||
| "scap", | ||
| ] | ||
| test-support = ["gpui/test-support"] | ||
| wayland = [ | ||
| "bitflags", | ||
| "gpui_wgpu", | ||
| "ashpd/wayland", | ||
| "calloop-wayland-source", | ||
| "wayland-backend", | ||
| "wayland-client", | ||
| "wayland-cursor", | ||
| "wayland-protocols", | ||
| "wayland-protocols-plasma", | ||
| "wayland-protocols-wlr", | ||
| "filedescriptor", | ||
| "xkbcommon/wayland", | ||
| "open", | ||
| "gpui/wayland", | ||
| ] | ||
| x11 = [ | ||
| "gpui_wgpu", | ||
| "ashpd", | ||
| "as-raw-xcb-connection", | ||
| "x11rb", | ||
| "xkbcommon/x11", | ||
| "xim", | ||
| "x11-clipboard", | ||
| "filedescriptor", | ||
| "open", | ||
| "scap?/x11", | ||
| ] | ||
|
|
||
| [lib] | ||
| name = "gpui_linux" | ||
| path = "src/gpui_linux.rs" | ||
| doctest = false | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.accesskit] | ||
| version = "0.24.0" | ||
| features = ["enumn"] | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.accesskit_unix] | ||
| version = "0.22" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.anyhow] | ||
| version = "1.0.86" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.as-raw-xcb-connection] | ||
| version = "1" | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.ashpd] | ||
| version = "0.13" | ||
| features = [ | ||
| "async-io", | ||
| "inhibit", | ||
| "notification", | ||
| "open_uri", | ||
| "file_chooser", | ||
| "settings", | ||
| "trash", | ||
| ] | ||
| optional = true | ||
| default-features = false | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.bitflags] | ||
| version = "2.6.0" | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.bytemuck] | ||
| version = "1" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.calloop] | ||
| version = "0.14.3" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.calloop-wayland-source] | ||
| version = "0.4.1" | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.collections] | ||
| version = "=0.3.6" | ||
| package = "gpui-pre-collections" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.filedescriptor] | ||
| version = "0.8.2" | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.futures] | ||
| version = "0.3.34" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui] | ||
| version = "=0.3.6" | ||
| default-features = false | ||
| package = "gpui-pre" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_util] | ||
| version = "=0.3.6" | ||
| package = "gpui-pre-util" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_wgpu] | ||
| version = "=0.3.6" | ||
| features = ["font-kit"] | ||
| optional = true | ||
| package = "gpui-pre-wgpu" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.http_client] | ||
| version = "=0.3.6" | ||
| package = "gpui-pre-http-client" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.libc] | ||
| version = "0.2" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.log] | ||
| version = "0.4.16" | ||
| features = [ | ||
| "kv_unstable_serde", | ||
| "serde", | ||
| ] | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.notify-rust] | ||
| version = "4" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.oo7] | ||
| version = "0.6" | ||
| features = [ | ||
| "async-std", | ||
| "native_crypto", | ||
| ] | ||
| default-features = false | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.open] | ||
| version = "5.2.0" | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.parking_lot] | ||
| version = "0.12.1" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.raw-window-handle] | ||
| version = "0.6" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.scap] | ||
| version = "0.0.8-zed" | ||
| optional = true | ||
| default-features = false | ||
| package = "zed-scap" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.smallvec] | ||
| version = "1.6" | ||
| features = [ | ||
| "union", | ||
| "const_new", | ||
| ] | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.smol] | ||
| version = "2.0" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.strum] | ||
| version = "0.28" | ||
| features = ["derive"] | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.url] | ||
| version = "2.2" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.uuid] | ||
| version = "1.1.2" | ||
| features = [ | ||
| "v4", | ||
| "v5", | ||
| "v7", | ||
| "serde", | ||
| ] | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-backend] | ||
| version = "0.3.15" | ||
| features = [ | ||
| "client_system", | ||
| "dlopen", | ||
| "log", | ||
| ] | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-client] | ||
| version = "0.31.11" | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-cursor] | ||
| version = "0.31.11" | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols] | ||
| version = "0.32.9" | ||
| features = [ | ||
| "client", | ||
| "staging", | ||
| "unstable", | ||
| ] | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols-plasma] | ||
| version = "0.3.9" | ||
| features = ["client"] | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols-wlr] | ||
| version = "0.3.9" | ||
| features = ["client"] | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.x11-clipboard] | ||
| version = "0.9.3" | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.x11rb] | ||
| version = "0.13.1" | ||
| features = [ | ||
| "allow-unsafe-code", | ||
| "xkb", | ||
| "randr", | ||
| "xinput", | ||
| "cursor", | ||
| "resource_manager", | ||
| "sync", | ||
| "dri3", | ||
| ] | ||
| optional = true | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.xim] | ||
| version = "0.4.0-zed" | ||
| features = [ | ||
| "x11rb-xcb", | ||
| "x11rb-client", | ||
| ] | ||
| optional = true | ||
| package = "zed-xim" | ||
|
|
||
| [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.xkbcommon] | ||
| version = "0.8.0" | ||
| optional = true | ||
| default-features = false | ||
|
|
||
| [lints.clippy] | ||
| dbg_macro = "deny" | ||
| declare_interior_mutable_const = "deny" | ||
| disallowed_methods = "deny" | ||
| large_enum_variant = "allow" | ||
| let_underscore_future = "allow" | ||
| nonminimal_bool = "allow" | ||
| redundant_clone = "deny" | ||
| single_range_in_vec_init = "allow" | ||
| todo = "deny" | ||
| too_many_arguments = "allow" | ||
| type_complexity = "allow" | ||
|
|
||
| [lints.clippy.style] | ||
| level = "allow" | ||
| priority = -1 | ||
|
|
||
| [lints.rust.unexpected_cfgs] | ||
| level = "allow" | ||
| priority = 0 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new path patch requires
vendor/gpui-pre-linux, butflake.nixcopies an explicit list of source directories that leaves outvendor. Cargo cannot findvendor/gpui-pre-linux/Cargo.toml, so the Nix package fails before compilation. Add the vendored crate to the Nix source list alongside this patch.