Skip to content

Commit

Permalink
Update smithay-egui, egui
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Jan 14, 2025
1 parent b793780 commit c8a947b
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 39 deletions.
81 changes: 51 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ cosmic-config = {git = "https://github.com/pop-os/libcosmic/", features = ["call
cosmic-protocols = {git = "https://github.com/pop-os/cosmic-protocols", rev = "d218c76", default-features = false, features = ["server"]}
cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon" }
libdisplay-info = "0.2.0"
egui = {version = "0.29.0", optional = true}
egui_plot = {version = "0.29.0", optional = true}
egui = {version = "0.30.0", optional = true}
egui_plot = {version = "0.30.0", optional = true}
i18n-embed = {version = "0.14", features = ["fluent-system", "desktop-requester"]}
i18n-embed-fl = "0.8"
iced_tiny_skia = {git = "https://github.com/pop-os/libcosmic/"}
Expand Down Expand Up @@ -85,14 +85,14 @@ features = [
"xwayland",
]
git = "https://github.com/smithay/smithay.git"
rev = "3b0ecce"
rev = "fe31867"
version = "0.3"

[dependencies.smithay-egui]
features = ["svg"]
git = "https://github.com/Smithay/smithay-egui.git"
git = "https://github.com/ids1024/smithay-egui.git"
optional = true
rev = "6118550"
branch = "update"

[features]
debug = ["egui", "egui_plot", "smithay-egui", "anyhow/backtrace"]
Expand All @@ -117,4 +117,4 @@ inherits = "release"
lto = "fat"

[patch."https://github.com/Smithay/smithay.git"]
smithay = { git = "https://github.com/smithay//smithay", rev = "1ceba66" }
smithay = { git = "https://github.com/smithay//smithay", rev = "fe31867" }
5 changes: 2 additions & 3 deletions src/backend/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,8 @@ where
renderer.glow_renderer_mut(),
state,
timings,
Rectangle::from_loc_and_size(
(0, 0),
(output_geo.size.w.min(400), output_geo.size.h.min(800)),
Rectangle::from_size(
(output_geo.size.w.min(400), output_geo.size.h.min(800)).into(),
),
scale,
)
Expand Down

0 comments on commit c8a947b

Please sign in to comment.