Skip to content

Commit

Permalink
src: migrate to sctk 0.19.x
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelohdez committed Nov 9, 2024
1 parent 314d734 commit 1b9dc42
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 13 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ clap_complete = "4.4.0"
env_logger = "0.11.0"
log = "0.4.20"
serde = { version = "1.0.0", features = ["derive"] }
smithay-client-toolkit = "0.18.0"
smithay-client-toolkit = "0.19.0"
toml = "0.8.0"

[profile.release]
Expand Down
19 changes: 19 additions & 0 deletions src/dim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,24 @@ impl CompositorHandler for DimData {
_time: u32,
) {
}

fn surface_enter(
&mut self,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_surface: &smithay_client_toolkit::reexports::client::protocol::wl_surface::WlSurface,
_output: &smithay_client_toolkit::reexports::client::protocol::wl_output::WlOutput,
) {
}

fn surface_leave(
&mut self,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_surface: &smithay_client_toolkit::reexports::client::protocol::wl_surface::WlSurface,
_output: &smithay_client_toolkit::reexports::client::protocol::wl_output::WlOutput,
) {
}
}

impl OutputHandler for DimData {
Expand Down Expand Up @@ -426,6 +444,7 @@ impl KeyboardHandler for DimData {
_keyboard: &wl_keyboard::WlKeyboard,
_serial: u32,
_modifiers: smithay_client_toolkit::seat::keyboard::Modifiers,
_layout: u32,
) {
debug!("Modifiers updated");
}
Expand Down

0 comments on commit 1b9dc42

Please sign in to comment.