mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
Upgrade smithay-client-toolkit to 0.19
closes: https://github.com/wez/wezterm/pull/5781
This commit is contained in:
parent
b158472099
commit
ccb7270dd7
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -4894,9 +4894,9 @@ checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "smithay-client-toolkit"
|
name = "smithay-client-toolkit"
|
||||||
version = "0.18.1"
|
version = "0.19.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "922fd3eeab3bd820d76537ce8f582b1cf951eceb5475c28500c7457d9d17f53a"
|
checksum = "837d3067369e24aeda699a5d9fc5aa14ca14a84dd70aeed7156bfa04a5605b32"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.6.0",
|
"bitflags 2.6.0",
|
||||||
"cursor-icon",
|
"cursor-icon",
|
||||||
@ -6038,9 +6038,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wayland-protocols"
|
name = "wayland-protocols"
|
||||||
version = "0.31.2"
|
version = "0.32.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8f81f365b8b4a97f422ac0e8737c438024b5951734506b0e1d775c73030561f4"
|
checksum = "1794d82d869f38439d15c24b26f06f6c8603d27d47b4f786d5197c99044de415"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.6.0",
|
"bitflags 2.6.0",
|
||||||
"wayland-backend",
|
"wayland-backend",
|
||||||
@ -6050,9 +6050,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wayland-protocols-wlr"
|
name = "wayland-protocols-wlr"
|
||||||
version = "0.2.0"
|
version = "0.3.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ad1f61b76b6c2d8742e10f9ba5c3737f6530b4c243132c2a2ccc8aa96fe25cd6"
|
checksum = "fa43c961473aed713d44c1f616f775186249dfca657f256d8841ca0690366aba"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.6.0",
|
"bitflags 2.6.0",
|
||||||
"wayland-backend",
|
"wayland-backend",
|
||||||
|
@ -81,8 +81,8 @@ xcb-imdkit = { version="0.3", git="https://github.com/wez/xcb-imdkit-rs.git", re
|
|||||||
zbus = "4.2"
|
zbus = "4.2"
|
||||||
zvariant = "4.0"
|
zvariant = "4.0"
|
||||||
|
|
||||||
smithay-client-toolkit = {version = "0.18", default-features=false, optional=true}
|
smithay-client-toolkit = {version = "0.19", default-features=false, optional=true}
|
||||||
wayland-protocols = {version="0.31", optional=true}
|
wayland-protocols = {version="0.32", optional=true}
|
||||||
wayland-client = {version="0.31", optional=true}
|
wayland-client = {version="0.31", optional=true}
|
||||||
wayland-egl = {version="0.32", optional=true}
|
wayland-egl = {version="0.32", optional=true}
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ use smithay_client_toolkit::data_device_manager::data_source::DataSourceHandler;
|
|||||||
use smithay_client_toolkit::data_device_manager::WritePipe;
|
use smithay_client_toolkit::data_device_manager::WritePipe;
|
||||||
use smithay_client_toolkit::reexports::client::protocol::wl_data_device::WlDataDevice;
|
use smithay_client_toolkit::reexports::client::protocol::wl_data_device::WlDataDevice;
|
||||||
use wayland_client::protocol::wl_data_device_manager::DndAction;
|
use wayland_client::protocol::wl_data_device_manager::DndAction;
|
||||||
|
use wayland_client::protocol::wl_surface::WlSurface;
|
||||||
use wayland_client::Proxy;
|
use wayland_client::Proxy;
|
||||||
|
|
||||||
use crate::wayland::drag_and_drop::SurfaceAndOffer;
|
use crate::wayland::drag_and_drop::SurfaceAndOffer;
|
||||||
@ -23,6 +24,9 @@ impl DataDeviceHandler for WaylandState {
|
|||||||
_conn: &wayland_client::Connection,
|
_conn: &wayland_client::Connection,
|
||||||
_qh: &wayland_client::QueueHandle<Self>,
|
_qh: &wayland_client::QueueHandle<Self>,
|
||||||
data_device: &WlDataDevice,
|
data_device: &WlDataDevice,
|
||||||
|
_x: f64,
|
||||||
|
_y: f64,
|
||||||
|
_surface: &WlSurface,
|
||||||
) {
|
) {
|
||||||
let data = match self.data_device {
|
let data = match self.data_device {
|
||||||
Some(ref dv) if dv.inner() == data_device => dv.data(),
|
Some(ref dv) if dv.inner() == data_device => dv.data(),
|
||||||
@ -86,6 +90,8 @@ impl DataDeviceHandler for WaylandState {
|
|||||||
_conn: &wayland_client::Connection,
|
_conn: &wayland_client::Connection,
|
||||||
_qh: &wayland_client::QueueHandle<Self>,
|
_qh: &wayland_client::QueueHandle<Self>,
|
||||||
_data_device: &WlDataDevice,
|
_data_device: &WlDataDevice,
|
||||||
|
_x: f64,
|
||||||
|
_y: f64,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1314,6 +1314,24 @@ impl CompositorHandler for WaylandState {
|
|||||||
) {
|
) {
|
||||||
// TODO: do we need to do anything here?
|
// TODO: do we need to do anything here?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn surface_enter(
|
||||||
|
&mut self,
|
||||||
|
_conn: &WConnection,
|
||||||
|
_qh: &wayland_client::QueueHandle<Self>,
|
||||||
|
_surface: &wayland_client::protocol::wl_surface::WlSurface,
|
||||||
|
_output: &wayland_client::protocol::wl_output::WlOutput,
|
||||||
|
) {
|
||||||
|
}
|
||||||
|
|
||||||
|
fn surface_leave(
|
||||||
|
&mut self,
|
||||||
|
_conn: &WConnection,
|
||||||
|
_qh: &wayland_client::QueueHandle<Self>,
|
||||||
|
_surface: &wayland_client::protocol::wl_surface::WlSurface,
|
||||||
|
_output: &wayland_client::protocol::wl_output::WlOutput,
|
||||||
|
) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl WindowHandler for WaylandState {
|
impl WindowHandler for WaylandState {
|
||||||
|
Loading…
Reference in New Issue
Block a user