mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +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]]
|
||||
name = "smithay"
|
||||
version = "0.7.0"
|
||||
source = "git+https://github.com/Smithay/smithay.git#7c1fc8951060a46a175d1adae7c8da66f3cfe67e"
|
||||
source = "git+https://github.com/Smithay/smithay.git#1d05641d72fd1d8ee077c969f956631502207c66"
|
||||
dependencies = [
|
||||
"aliasable",
|
||||
"appendlist",
|
||||
@@ -3581,7 +3581,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "smithay-drm-extras"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/Smithay/smithay.git#7c1fc8951060a46a175d1adae7c8da66f3cfe67e"
|
||||
source = "git+https://github.com/Smithay/smithay.git#1d05641d72fd1d8ee077c969f956631502207c66"
|
||||
dependencies = [
|
||||
"drm",
|
||||
"libdisplay-info",
|
||||
|
||||
+2
-2
@@ -972,7 +972,7 @@ impl Tty {
|
||||
surface,
|
||||
None,
|
||||
allocator.clone(),
|
||||
GbmFramebufferExporter::new(device.gbm.clone(), Some(device.render_node)),
|
||||
GbmFramebufferExporter::new(device.gbm.clone(), device.render_node.into()),
|
||||
SUPPORTED_COLOR_FORMATS,
|
||||
// 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.
|
||||
@@ -1002,7 +1002,7 @@ impl Tty {
|
||||
surface,
|
||||
None,
|
||||
allocator,
|
||||
GbmFramebufferExporter::new(device.gbm.clone(), Some(device.render_node)),
|
||||
GbmFramebufferExporter::new(device.gbm.clone(), device.render_node.into()),
|
||||
SUPPORTED_COLOR_FORMATS,
|
||||
render_formats,
|
||||
device.drm.cursor_size(),
|
||||
|
||||
+8
-8
@@ -312,8 +312,8 @@ impl SelectionHandler for State {
|
||||
}
|
||||
|
||||
impl DataDeviceHandler for State {
|
||||
fn data_device_state(&self) -> &DataDeviceState {
|
||||
&self.niri.data_device_state
|
||||
fn data_device_state(&mut self) -> &mut DataDeviceState {
|
||||
&mut self.niri.data_device_state
|
||||
}
|
||||
}
|
||||
|
||||
@@ -392,23 +392,23 @@ impl ServerDndGrabHandler for State {}
|
||||
delegate_data_device!(State);
|
||||
|
||||
impl PrimarySelectionHandler for State {
|
||||
fn primary_selection_state(&self) -> &PrimarySelectionState {
|
||||
&self.niri.primary_selection_state
|
||||
fn primary_selection_state(&mut self) -> &mut PrimarySelectionState {
|
||||
&mut self.niri.primary_selection_state
|
||||
}
|
||||
}
|
||||
delegate_primary_selection!(State);
|
||||
|
||||
impl WlrDataControlHandler for State {
|
||||
fn data_control_state(&self) -> &WlrDataControlState {
|
||||
&self.niri.wlr_data_control_state
|
||||
fn data_control_state(&mut self) -> &mut WlrDataControlState {
|
||||
&mut self.niri.wlr_data_control_state
|
||||
}
|
||||
}
|
||||
|
||||
delegate_data_control!(State);
|
||||
|
||||
impl ExtDataControlHandler for State {
|
||||
fn data_control_state(&self) -> &ExtDataControlState {
|
||||
&self.niri.ext_data_control_state
|
||||
fn data_control_state(&mut self) -> &mut ExtDataControlState {
|
||||
&mut self.niri.ext_data_control_state
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user