mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Update Smithay (clipboard client exit nil fix, input region bottom-right fix)
This commit is contained in:
Generated
+2
-2
@@ -3507,7 +3507,7 @@ checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "smithay"
|
name = "smithay"
|
||||||
version = "0.7.0"
|
version = "0.7.0"
|
||||||
source = "git+https://github.com/Smithay/smithay.git#7c1fc8951060a46a175d1adae7c8da66f3cfe67e"
|
source = "git+https://github.com/Smithay/smithay.git#1d05641d72fd1d8ee077c969f956631502207c66"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aliasable",
|
"aliasable",
|
||||||
"appendlist",
|
"appendlist",
|
||||||
@@ -3581,7 +3581,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "smithay-drm-extras"
|
name = "smithay-drm-extras"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/Smithay/smithay.git#7c1fc8951060a46a175d1adae7c8da66f3cfe67e"
|
source = "git+https://github.com/Smithay/smithay.git#1d05641d72fd1d8ee077c969f956631502207c66"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"drm",
|
"drm",
|
||||||
"libdisplay-info",
|
"libdisplay-info",
|
||||||
|
|||||||
+2
-2
@@ -972,7 +972,7 @@ impl Tty {
|
|||||||
surface,
|
surface,
|
||||||
None,
|
None,
|
||||||
allocator.clone(),
|
allocator.clone(),
|
||||||
GbmFramebufferExporter::new(device.gbm.clone(), Some(device.render_node)),
|
GbmFramebufferExporter::new(device.gbm.clone(), device.render_node.into()),
|
||||||
SUPPORTED_COLOR_FORMATS,
|
SUPPORTED_COLOR_FORMATS,
|
||||||
// This is only used to pick a good internal format, so it can use the surface's render
|
// This is only used to pick a good internal format, so it can use the surface's render
|
||||||
// formats, even though we only ever render on the primary GPU.
|
// formats, even though we only ever render on the primary GPU.
|
||||||
@@ -1002,7 +1002,7 @@ impl Tty {
|
|||||||
surface,
|
surface,
|
||||||
None,
|
None,
|
||||||
allocator,
|
allocator,
|
||||||
GbmFramebufferExporter::new(device.gbm.clone(), Some(device.render_node)),
|
GbmFramebufferExporter::new(device.gbm.clone(), device.render_node.into()),
|
||||||
SUPPORTED_COLOR_FORMATS,
|
SUPPORTED_COLOR_FORMATS,
|
||||||
render_formats,
|
render_formats,
|
||||||
device.drm.cursor_size(),
|
device.drm.cursor_size(),
|
||||||
|
|||||||
+8
-8
@@ -312,8 +312,8 @@ impl SelectionHandler for State {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl DataDeviceHandler for State {
|
impl DataDeviceHandler for State {
|
||||||
fn data_device_state(&self) -> &DataDeviceState {
|
fn data_device_state(&mut self) -> &mut DataDeviceState {
|
||||||
&self.niri.data_device_state
|
&mut self.niri.data_device_state
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -392,23 +392,23 @@ impl ServerDndGrabHandler for State {}
|
|||||||
delegate_data_device!(State);
|
delegate_data_device!(State);
|
||||||
|
|
||||||
impl PrimarySelectionHandler for State {
|
impl PrimarySelectionHandler for State {
|
||||||
fn primary_selection_state(&self) -> &PrimarySelectionState {
|
fn primary_selection_state(&mut self) -> &mut PrimarySelectionState {
|
||||||
&self.niri.primary_selection_state
|
&mut self.niri.primary_selection_state
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delegate_primary_selection!(State);
|
delegate_primary_selection!(State);
|
||||||
|
|
||||||
impl WlrDataControlHandler for State {
|
impl WlrDataControlHandler for State {
|
||||||
fn data_control_state(&self) -> &WlrDataControlState {
|
fn data_control_state(&mut self) -> &mut WlrDataControlState {
|
||||||
&self.niri.wlr_data_control_state
|
&mut self.niri.wlr_data_control_state
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
delegate_data_control!(State);
|
delegate_data_control!(State);
|
||||||
|
|
||||||
impl ExtDataControlHandler for State {
|
impl ExtDataControlHandler for State {
|
||||||
fn data_control_state(&self) -> &ExtDataControlState {
|
fn data_control_state(&mut self) -> &mut ExtDataControlState {
|
||||||
&self.niri.ext_data_control_state
|
&mut self.niri.ext_data_control_state
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user