Update sctk to 0.19.1
This commit is contained in:
parent
9b995a33a8
commit
ab1750a028
2 changed files with 23 additions and 4 deletions
|
|
@ -15,9 +15,9 @@ rust-version = "1.65.0"
|
|||
|
||||
[dependencies]
|
||||
libc = "0.2.149"
|
||||
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", default-features = false, features = [
|
||||
sctk = { package = "smithay-client-toolkit", version = "0.19.1", default-features = false, features = [
|
||||
"calloop",
|
||||
], rev = "3bed072" }
|
||||
] }
|
||||
wayland-backend = { version = "0.3.3", default_features = false, features = [
|
||||
"client_system",
|
||||
] }
|
||||
|
|
@ -25,10 +25,10 @@ raw-window-handle = { version = "0.6", optional = true }
|
|||
|
||||
[dev-dependencies]
|
||||
dirs = "5.0.1"
|
||||
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", default-features = false, features = [
|
||||
sctk = { package = "smithay-client-toolkit", version = "0.19.1", default-features = false, features = [
|
||||
"calloop",
|
||||
"xkbcommon",
|
||||
], rev = "3bed072" }
|
||||
] }
|
||||
thiserror = "1.0.57"
|
||||
url = "2.5.0"
|
||||
|
||||
|
|
|
|||
19
src/state.rs
19
src/state.rs
|
|
@ -16,6 +16,7 @@ use sctk::output::{OutputHandler, OutputState};
|
|||
use sctk::primary_selection::device::{PrimarySelectionDevice, PrimarySelectionDeviceHandler};
|
||||
use sctk::primary_selection::selection::{PrimarySelectionSource, PrimarySelectionSourceHandler};
|
||||
use sctk::primary_selection::PrimarySelectionManagerState;
|
||||
use sctk::reexports::client::protocol::wl_output::WlOutput;
|
||||
use sctk::reexports::client::protocol::wl_surface::WlSurface;
|
||||
use sctk::registry::{ProvidesRegistryState, RegistryState};
|
||||
use sctk::seat::pointer::{PointerData, PointerEvent, PointerEventKind, PointerHandler};
|
||||
|
|
@ -668,6 +669,24 @@ impl<T: 'static + Clone> CompositorHandler for State<T> {
|
|||
_time: u32,
|
||||
) {
|
||||
}
|
||||
|
||||
fn surface_enter(
|
||||
&mut self,
|
||||
_: &Connection,
|
||||
_: &QueueHandle<Self>,
|
||||
_: &WlSurface,
|
||||
_: &WlOutput,
|
||||
) {
|
||||
}
|
||||
|
||||
fn surface_leave(
|
||||
&mut self,
|
||||
_: &Connection,
|
||||
_: &QueueHandle<Self>,
|
||||
_: &WlSurface,
|
||||
_: &WlOutput,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: 'static + Clone> OutputHandler for State<T> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue