Skip to content

Commit

Permalink
chore: Update smithay/smithay-egui
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix committed Sep 21, 2023
1 parent ef361ae commit db3e372
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ branch = "feature/copy_clone"
[dependencies.smithay]
version = "0.3"
git = "https://github.com/smithay/smithay.git"
rev = "138921bff4"
rev = "58d5bdc"
default-features = false
features = ["backend_drm", "backend_gbm", "backend_egl", "backend_libinput", "backend_session_libseat", "backend_udev", "backend_winit", "backend_vulkan", "backend_x11", "desktop", "use_system_lib", "renderer_glow", "renderer_multi", "wayland_frontend", "xwayland"]

[dependencies.smithay-egui]
git = "https://github.com/Smithay/smithay-egui.git"
rev = "0a4d573"
rev = "dab5c1b"
features = ["svg"]
optional = true

Expand All @@ -87,4 +87,4 @@ debug = true
lto = "fat"

[patch."https://github.com/Smithay/smithay.git"]
smithay = { git = "https://github.com/smithay//smithay", rev = "5affbde525" }
smithay = { git = "https://github.com/smithay//smithay", rev = "58d5bdc" }
8 changes: 4 additions & 4 deletions src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,12 @@ fn format_pointer_focus(focus: Option<PointerFocusTarget>) -> String {
},
Some(Fullscreen(x)) => format!(
"Fullscreen {} ({})",
match &x {
match x.surface() {
CosmicSurface::Wayland(w) => w.toplevel().wl_surface().id().protocol_id(),
CosmicSurface::X11(x) => x.window_id(),
_ => unreachable!(),
},
x.title()
x.surface().title()
),
Some(LayerSurface(x)) => format!("LayerSurface {}", x.wl_surface().id().protocol_id()),
Some(Popup(x)) => format!("Popup {}", x.wl_surface().id().protocol_id()),
Expand Down Expand Up @@ -369,12 +369,12 @@ fn format_keyboard_focus(focus: Option<KeyboardFocusTarget>) -> String {
},
Some(Fullscreen(x)) => format!(
"Fullscreen {} ({})",
match &x {
match x.surface() {
CosmicSurface::Wayland(w) => w.toplevel().wl_surface().id().protocol_id(),
CosmicSurface::X11(x) => x.window_id(),
_ => unreachable!(),
},
x.title()
x.surface().title()
),
Some(LayerSurface(x)) => format!("LayerSurface {}", x.wl_surface().id().protocol_id()),
Some(Popup(x)) => format!("Popup {}", x.wl_surface().id().protocol_id()),
Expand Down

0 comments on commit db3e372

Please sign in to comment.