-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #288 from mahkoh/jorth/data-control
ipc: implement ext-data-control
- Loading branch information
Showing
33 changed files
with
1,440 additions
and
766 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Unreleased | ||
|
||
- Add support fo ext-data-control-v1. | ||
|
||
# 1.7.0 (2024-10-25) | ||
|
||
- Various bugfixes. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
use { | ||
crate::ifs::ipc::{DynDataSource, IpcLocation}, | ||
std::rc::Rc, | ||
}; | ||
|
||
pub mod ext_data_control_device_v1; | ||
pub mod ext_data_control_manager_v1; | ||
pub mod ext_data_control_offer_v1; | ||
pub mod ext_data_control_source_v1; | ||
mod private; | ||
pub mod zwlr_data_control_device_v1; | ||
pub mod zwlr_data_control_manager_v1; | ||
pub mod zwlr_data_control_offer_v1; | ||
pub mod zwlr_data_control_source_v1; | ||
|
||
linear_ids!(DataControlDeviceIds, DataControlDeviceId, u64); | ||
|
||
pub trait DynDataControlDevice { | ||
fn id(&self) -> DataControlDeviceId; | ||
|
||
fn handle_new_source( | ||
self: Rc<Self>, | ||
location: IpcLocation, | ||
source: Option<Rc<dyn DynDataSource>>, | ||
); | ||
} |
Oops, something went wrong.