mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-26 21:58:10 +01:00
Add documentation
This commit is contained in:
parent
09742d1f76
commit
253ecd85ad
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
// from anvil
|
||||
// TODO: figure out what this stuff does
|
||||
|
||||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
error::Error,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#![warn(missing_docs)] // pretty sure this only warns the main file because nothing else is public
|
||||
#![warn(missing_docs)] // pretty sure this only warns in the main file because nothing else is public
|
||||
|
||||
//! A very, VERY WIP Smithay-based Wayland compositor.
|
||||
//!
|
||||
//! Pinnacle is heavily inspired by the [Awesome Window Manager](https://awesomewm.org),
|
||||
//! and this is an attempt to make something akin to it for Wayland.
|
||||
//!
|
||||
//! While Pinnacle is not a library, this documentation serves to guide those who would like to
|
||||
//! While Pinnacle is not a library, this documentation serves to guide those who want to
|
||||
//! contribute or learn how building something like this works.
|
||||
|
||||
mod api;
|
||||
|
|
|
@ -412,6 +412,7 @@ pub struct SurfaceDmabufFeedback<'a> {
|
|||
pub scanout_feedback: &'a DmabufFeedback,
|
||||
}
|
||||
|
||||
// TODO: docs
|
||||
pub fn take_presentation_feedback(
|
||||
output: &Output,
|
||||
space: &Space<Window>,
|
||||
|
@ -444,6 +445,7 @@ pub fn take_presentation_feedback(
|
|||
output_presentation_feedback
|
||||
}
|
||||
|
||||
/// State containing the config API's stream.
|
||||
#[derive(Default)]
|
||||
pub struct ApiState {
|
||||
pub stream: Option<Arc<Mutex<UnixStream>>>,
|
||||
|
|
Loading…
Reference in a new issue