kms: Dmabuf feedback support
This commit is contained in:
parent
636d38921a
commit
bc49507353
8 changed files with 267 additions and 36 deletions
|
|
@ -5,6 +5,7 @@ use crate::{
|
|||
shell::{
|
||||
element::{window::CosmicWindowRenderElement, CosmicMapped, CosmicMappedRenderElement},
|
||||
focus::target::{KeyboardFocusTarget, PointerFocusTarget},
|
||||
CosmicSurface,
|
||||
},
|
||||
utils::prelude::*,
|
||||
};
|
||||
|
|
@ -91,6 +92,10 @@ impl MoveGrabState {
|
|||
.active_window()
|
||||
.send_frame(output, time, throttle, primary_scan_out_output)
|
||||
}
|
||||
|
||||
pub fn window(&self) -> CosmicSurface {
|
||||
self.window.active_window()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct MoveSurfaceGrab {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue